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 1919 - name : " Update pins"
2020 run : |
2121 nix flake update hackage
22+ nix flake update hackage-for-stackage
2223 nix flake update stackage
2324 - name : Commit and push changes
2425 run : |
Original file line number Diff line number Diff line change 66, nixpkgsArgs ? haskellNix . nixpkgsArgs
77, pkgs ? import nixpkgs nixpkgsArgs
88, 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 ; } )
149, ifdLevel ? 1000
1510, compiler-nix-name ? throw "No `compiler-nix-name` passed to build.nix"
1611, haskellNix ? ( import ./default.nix { } )
@@ -98,7 +93,7 @@ in rec {
9893 nix-tools = haskell . nix-tools-unchecked ; # includes cabal-install and default-setup
9994 } ;
10095 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 {
10297 inherit compiler-nix-name ;
10398 } ;
10499 } ;
Original file line number Diff line number Diff line change 33
44 inputs = {
55 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" ; } ;
116 nixpkgs-2305 = { url = "github:NixOS/nixpkgs/nixpkgs-23.05-darwin" ; } ;
127 nixpkgs-2311 = { url = "github:NixOS/nixpkgs/nixpkgs-23.11-darwin" ; } ;
138 nixpkgs-2405 = { url = "github:NixOS/nixpkgs/nixpkgs-24.05-darwin" ; } ;
2823 url = "github:input-output-hk/hackage.nix" ;
2924 flake = false ;
3025 } ;
26+ hackage-for-stackage = {
27+ url = "github:input-output-hk/hackage.nix/for-stackage" ;
28+ flake = false ;
29+ } ;
3130 stackage = {
3231 url = "github:input-output-hk/stackage.nix" ;
3332 flake = false ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -23,11 +23,6 @@ final: prev: {
2323 # here and be explicit about imports and dependencies.
2424 callPackage = prev . lib . callPackageWith ( final // final . haskell-nix ) ;
2525
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-
3126 # ghc hackage patches.
3227 # these are patches that turn hackage packages into the same as the ones
3328 # ghc ships with the supposedly same version. See GHC Track Issue: 16199
@@ -47,7 +42,7 @@ final: prev: {
4742 # All packages from Hackage as Nix expressions
4843 hackageSrc = sources . hackage ;
4944 # The only stack projects need hackage.nix now
50- hackageForStack = import hackageSrc ;
45+ hackageForStack = import sources . hackage-for-stackage ;
5146
5247 # Contains the hashes of the cabal 01-index.tar.gz for given
5348 # index states. Starting from April 1st 2019.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33let
44 project = project' {
55 src = testSrc "stack-remote-resolver" ;
6- resolverSha256 = "1rldkqqsxd8zxybrkqhc25bcxinhz212kz45jcz8jinfihc91jl7 " ;
6+ resolverSha256 = "sha256-Vw1i0woTpbnbfl7KLAWZW6tfMHV7MOGLtzSlacM5sLE= " ;
77 inherit evalPackages ;
88 } ;
99 packages = project . hsPkgs ;
1010
1111in recurseIntoAttrs {
12- meta . disabled = compiler-nix-name != "ghc865 " ;
12+ meta . disabled = compiler-nix-name != "ghc984 " ;
1313 ifdInputs = {
1414 inherit ( project ) stack-nix ;
1515 } ;
Original file line number Diff line number Diff line change 11#! /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
33
44set -euo pipefail
55
You can’t perform that action at this time.
0 commit comments