Skip to content

Commit 88870f2

Browse files
committed
s/nixpkgs-default/nixpkgs and use nix-tools.ghc883
1 parent 8d35bec commit 88870f2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

nix-tools/.buildkite/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cabal new-configure
1717

1818
echo
1919
echo "+++ Run stable version of plan-to-nix"
20-
nix build '(let haskellNix = import (builtins.fetchTarball "https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz") {}; in (import haskellNix.sources.nixpkgs-default haskellNix.nixpkgsArgs).haskell-nix.nix-tools)' -o nt
20+
nix build '(let haskellNix = import (builtins.fetchTarball "https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz") {}; in (import haskellNix.sources.nixpkgs haskellNix.nixpkgsArgs).haskell-nix.nix-tools.ghc883)' -o nt
2121
./nt/bin/plan-to-nix --output .buildkite/nix1 --plan-json dist-newstyle/cache/plan.json
2222

2323
# Replace currently broken plan-to-nix output

nix-tools/.buildkite/fixed.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{ haskellNix ? import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz) {}
2-
, nixpkgs ? haskellNix.sources.nixpkgs-default }:
2+
, nixpkgs ? haskellNix.sources.nixpkgs }:
33

44
let
55
pkgs = import nixpkgs haskellNix.nixpkgsArgs;

nix-tools/plan2nix/Plan2Nix.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ value2plan plan = Plan { packages, extras, compilerVersion, compilerPackages }
241241
defaultNixContents = unlines $
242242
[ "{ haskellNixSrc ? builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz"
243243
, ", haskellNix ? import haskellNixSrc {}"
244-
, ", nixpkgs ? haskellNix.sources.nixpkgs-default }:"
244+
, ", nixpkgs ? haskellNix.sources.nixpkgs }:"
245245
, ""
246246
, "let"
247247
, " pkgs = import nixpkgs haskellNix.nixpkgsArgs;"

0 commit comments

Comments
 (0)