Skip to content

Commit 4ceda29

Browse files
CohenCyriladjevahi
authored andcommitted
Fix nix-shell (math-comp#1993)
* Fix nix-shell and overrides
1 parent e302943 commit 4ceda29

6 files changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/nix-action-9.0-master.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ jobs:
491491
mathcomp-experimental-reals:
492492
needs:
493493
- rocq-core
494-
- mathcomp-reals
494+
- mathcomp-analysis
495495
- mathcomp-bigenough
496496
runs-on: ubuntu-latest
497497
steps:
@@ -546,9 +546,9 @@ jobs:
546546
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
547547
"9.0-master" --argstr job "rocq-core"
548548
- if: steps.stepCheck.outputs.status != 'fetched'
549-
name: 'Building/fetching previous CI target: mathcomp-reals'
549+
name: 'Building/fetching previous CI target: mathcomp-analysis'
550550
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
551-
"9.0-master" --argstr job "mathcomp-reals"
551+
"9.0-master" --argstr job "mathcomp-analysis"
552552
- if: steps.stepCheck.outputs.status != 'fetched'
553553
name: 'Building/fetching previous CI target: mathcomp-bigenough'
554554
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
@@ -680,10 +680,6 @@ jobs:
680680
name: 'Building/fetching previous CI target: mathcomp-analysis-stdlib'
681681
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
682682
"9.0-master" --argstr job "mathcomp-analysis-stdlib"
683-
- if: steps.stepCheck.outputs.status != 'fetched'
684-
name: 'Building/fetching previous CI target: mathcomp-algebra-tactics'
685-
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
686-
"9.0-master" --argstr job "mathcomp-algebra-tactics"
687683
- if: steps.stepCheck.outputs.status != 'fetched'
688684
name: 'Building/fetching previous CI target: interval'
689685
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle

.github/workflows/nix-action-9.1-master.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ jobs:
491491
mathcomp-experimental-reals:
492492
needs:
493493
- rocq-core
494-
- mathcomp-reals
494+
- mathcomp-analysis
495495
- mathcomp-bigenough
496496
runs-on: ubuntu-latest
497497
steps:
@@ -546,9 +546,9 @@ jobs:
546546
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
547547
"9.1-master" --argstr job "rocq-core"
548548
- if: steps.stepCheck.outputs.status != 'fetched'
549-
name: 'Building/fetching previous CI target: mathcomp-reals'
549+
name: 'Building/fetching previous CI target: mathcomp-analysis'
550550
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
551-
"9.1-master" --argstr job "mathcomp-reals"
551+
"9.1-master" --argstr job "mathcomp-analysis"
552552
- if: steps.stepCheck.outputs.status != 'fetched'
553553
name: 'Building/fetching previous CI target: mathcomp-bigenough'
554554
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
@@ -680,10 +680,6 @@ jobs:
680680
name: 'Building/fetching previous CI target: mathcomp-analysis-stdlib'
681681
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
682682
"9.1-master" --argstr job "mathcomp-analysis-stdlib"
683-
- if: steps.stepCheck.outputs.status != 'fetched'
684-
name: 'Building/fetching previous CI target: mathcomp-algebra-tactics'
685-
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
686-
"9.1-master" --argstr job "mathcomp-algebra-tactics"
687683
- if: steps.stepCheck.outputs.status != 'fetched'
688684
name: 'Building/fetching previous CI target: interval'
689685
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle

.github/workflows/nix-action-master.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ jobs:
617617
mathcomp-experimental-reals:
618618
needs:
619619
- rocq-core
620-
- mathcomp-reals
620+
- mathcomp-analysis
621621
- mathcomp-bigenough
622622
runs-on: ubuntu-latest
623623
steps:
@@ -672,9 +672,9 @@ jobs:
672672
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
673673
"master" --argstr job "rocq-core"
674674
- if: steps.stepCheck.outputs.status != 'fetched'
675-
name: 'Building/fetching previous CI target: mathcomp-reals'
675+
name: 'Building/fetching previous CI target: mathcomp-analysis'
676676
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
677-
"master" --argstr job "mathcomp-reals"
677+
"master" --argstr job "mathcomp-analysis"
678678
- if: steps.stepCheck.outputs.status != 'fetched'
679679
name: 'Building/fetching previous CI target: mathcomp-bigenough'
680680
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle

.nix/config.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ let
88
mathcomp-analysis-stdlib.job = true;
99
ssprove.override.version = "main";
1010
mathcomp-infotheo.override.version = "master";
11+
interval.override.version = "master";
12+
coquelicot.override.version = "master";
1113
};
1214
in {
1315
## DO NOT CHANGE THIS
@@ -59,6 +61,9 @@ in {
5961
};
6062
coqPackages = common-bundle // {
6163
coq.override.version = "9.0";
64+
mathcomp.override.version = "master";
65+
mathcomp-bigenough.override.version = "master";
66+
mathcomp-finmap.override.version = "master";
6267
ssprove.job = false; # not yet available for 9.1
6368
};
6469
};
@@ -84,6 +89,9 @@ in {
8489
};
8590
coqPackages = common-bundle // {
8691
coq.override.version = "9.1";
92+
mathcomp.override.version = "master";
93+
mathcomp-bigenough.override.version = "master";
94+
mathcomp-finmap.override.version = "master";
8795
ssprove.job = false; # not yet available for 9.1
8896
};
8997
};

.nix/coq-nix-toolbox.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"6b32b8cd491ec44b75da86fb17e4353f2f102328"
1+
"4a441c50de5618ef066128f9f6f84e6bc13066da"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
{ mathcomp-analysis }:
1+
{ mathcomp-analysis, ... }:
22
mathcomp-analysis.override {single = true;}

0 commit comments

Comments
 (0)