File tree Expand file tree Collapse file tree 7 files changed +29
-121
lines changed
test/stack-remote-resolver Expand file tree Collapse file tree 7 files changed +29
-121
lines changed Original file line number Diff line number Diff line change 19
19
- name : " Update pins"
20
20
run : |
21
21
nix flake update hackage
22
+ nix flake update hackage-for-stackage
22
23
nix flake update stackage
23
24
- name : Commit and push changes
24
25
run : |
Original file line number Diff line number Diff line change 3
3
4
4
inputs = {
5
5
nixpkgs . follows = "nixpkgs-unstable" ;
6
- nixpkgs-2003 = { url = "github:NixOS/nixpkgs/nixpkgs-20.03-darwin" ; } ;
7
- nixpkgs-2105 = { url = "github:NixOS/nixpkgs/nixpkgs-21.05-darwin" ; } ;
8
- nixpkgs-2111 = { url = "github:NixOS/nixpkgs/nixpkgs-21.11-darwin" ; } ;
9
- nixpkgs-2205 = { url = "github:NixOS/nixpkgs/nixpkgs-22.05-darwin" ; } ;
10
- nixpkgs-2211 = { url = "github:NixOS/nixpkgs/nixpkgs-22.11-darwin" ; } ;
11
6
nixpkgs-2305 = { url = "github:NixOS/nixpkgs/nixpkgs-23.05-darwin" ; } ;
12
7
nixpkgs-2311 = { url = "github:NixOS/nixpkgs/nixpkgs-23.11-darwin" ; } ;
13
8
nixpkgs-2405 = { url = "github:NixOS/nixpkgs/nixpkgs-24.05-darwin" ; } ;
28
23
url = "github:input-output-hk/hackage.nix" ;
29
24
flake = false ;
30
25
} ;
26
+ hackage-for-stackage = {
27
+ url = "github:input-output-hk/hackage.nix/for-stackage" ;
28
+ flake = false ;
29
+ } ;
31
30
stackage = {
32
31
url = "github:input-output-hk/stackage.nix" ;
33
32
flake = false ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -23,11 +23,6 @@ final: prev: {
23
23
# here and be explicit about imports and dependencies.
24
24
callPackage = prev . lib . callPackageWith ( final // final . haskell-nix ) ;
25
25
26
- # You can provide different pins for hackage.nix and stackage.nix if required.
27
- # It's also possible to override these sources with NIX_PATH.
28
- hackageSourceJSON = ../hackage-src.json ;
29
- stackageSourceJSON = ../stackage-src.json ;
30
-
31
26
# ghc hackage patches.
32
27
# these are patches that turn hackage packages into the same as the ones
33
28
# ghc ships with the supposedly same version. See GHC Track Issue: 16199
@@ -47,7 +42,7 @@ final: prev: {
47
42
# All packages from Hackage as Nix expressions
48
43
hackageSrc = sources . hackage ;
49
44
# The only stack projects need hackage.nix now
50
- hackageForStack = import hackageSrc ;
45
+ hackageForStack = import sources . hackage-for-stackage ;
51
46
52
47
# Contains the hashes of the cabal 01-index.tar.gz for given
53
48
# index states. Starting from April 1st 2019.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
let
4
4
project = project' {
5
5
src = testSrc "stack-remote-resolver" ;
6
- resolverSha256 = "1rldkqqsxd8zxybrkqhc25bcxinhz212kz45jcz8jinfihc91jl7 " ;
6
+ resolverSha256 = "sha256-Vw1i0woTpbnbfl7KLAWZW6tfMHV7MOGLtzSlacM5sLE= " ;
7
7
inherit evalPackages ;
8
8
} ;
9
9
packages = project . hsPkgs ;
10
10
11
11
in recurseIntoAttrs {
12
- meta . disabled = compiler-nix-name != "ghc865 " ;
12
+ meta . disabled = compiler-nix-name != "ghc984 " ;
13
13
ifdInputs = {
14
14
inherit ( project ) stack-nix ;
15
15
} ;
You can’t perform that action at this time.
0 commit comments