File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
materialized/dummy-ghc/x86_64-w64-mingw32-x86_64-w64-mingw32-ghc-9.2.4-x86_64-darwin/ghc-pkg Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 24
24
fi
25
25
done
26
26
27
- mkdir -p $out/evalDeps
27
+ mkdir -p $out/envDeps
28
28
for P in $($out/bin/${ targetPrefix } ghc-pkg list --simple-output | sed 's/-[0-9][0-9.]*//g'); do
29
- touch $out/evalDeps /$P
29
+ touch $out/envDeps /$P
30
30
if id=$($out/bin/${ targetPrefix } ghc-pkg field $P id --simple-output); then
31
- echo "package-id $id" >> $out/evalDeps /$P
31
+ echo "package-id $id" >> $out/envDeps /$P
32
32
fi
33
33
done
34
34
'' ;
Original file line number Diff line number Diff line change 6
6
# to compute the same derivation multiple times.
7
7
final : prev :
8
8
let
9
- nonReinstallablePkgs = [ ] ;
9
+ nonReinstallablePkgs = [ "base" "Cabal" ] ;
10
10
haskellLib = final . haskell-nix . haskellLib ;
11
11
defaultSetupSrc =
12
12
if final . stdenv . hostPlatform . isGhcjs
80
80
# add a custom Cabal package to the dependencies. That way custom
81
81
# setups won't complain about e.g. binary from the Cabal dependencies
82
82
# and binary from the global package-db.
83
- nonReinstallablePkgs = [ ] ;
83
+ nonReinstallablePkgs = [ "base" ] ;
84
84
} ) ) {
85
85
useCabalFromCabalInstall = true ;
86
86
useCabalFromGHC = false ;
95
95
||
96
96
# These are the dependencies of `Cabal`
97
97
! builtins . elem packageName
98
- [ "nix-tools" " alex" "happy" "hscolour" "Cabal" "bytestring" "aeson " "time"
98
+ [ "alex" "happy" "hscolour" "Cabal" "bytestring" "time"
99
99
"filepath" "base-compat-batteries" "base-compat" "unix" "directory" "transformers"
100
100
"containers" "binary" "mtl" "text" "process" "parsec" ]
101
101
then defaultSetup . useCabalFromCabalInstall
You can’t perform that action at this time.
0 commit comments