File tree Expand file tree Collapse file tree 9 files changed +31
-128
lines changed Expand file tree Collapse file tree 9 files changed +31
-128
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 6
6
, nixpkgsArgs ? haskellNix . nixpkgsArgs
7
7
, pkgs ? import nixpkgs nixpkgsArgs
8
8
, evalPackages ? import nixpkgs nixpkgsArgs
9
- # This version is used to make our GitHub Action runners happy
10
- # Using `nixpkgs-unstable` currently results in:
11
- # version `GLIBCXX_3.4.30' not found
12
- , nixpkgsForGitHubAction ? haskellNix . sources . nixpkgs-2211
13
- , pkgsForGitHubAction ? import nixpkgsForGitHubAction ( nixpkgsArgs // { inherit ( pkgs ) system ; } )
14
9
, ifdLevel ? 1000
15
10
, compiler-nix-name ? throw "No `compiler-nix-name` passed to build.nix"
16
11
, haskellNix ? ( import ./default.nix { } )
@@ -98,7 +93,7 @@ in rec {
98
93
nix-tools = haskell . nix-tools-unchecked ; # includes cabal-install and default-setup
99
94
} ;
100
95
check-materialization-concurrency = pkgs . buildPackages . callPackage ./scripts/check-materialization-concurrency/check.nix { } ;
101
- check-path-support = pkgsForGitHubAction . buildPackages . callPackage ./scripts/check-path-support.nix {
96
+ check-path-support = pkgs . buildPackages . callPackage ./scripts/check-path-support.nix {
102
97
inherit compiler-nix-name ;
103
98
} ;
104
99
} ;
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
} ;
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env nix-shell
2
- #! nix-shell -I "nixpkgs=channel:nixos-22 .11" -i bash -p bash jq nix gnused
2
+ #! nix-shell -I "nixpkgs=channel:nixos-24 .11" -i bash -p bash jq nix gnused
3
3
4
4
set -euo pipefail
5
5
You can’t perform that action at this time.
0 commit comments