Skip to content

Commit 41dcb46

Browse files
hamishmacknewhoggy
authored andcommitted
Update haskell.nix for win32 file access error
See input-output-hk/haskell.nix#1508
1 parent c62a539 commit 41dcb46

File tree

2 files changed

+3
-43
lines changed

2 files changed

+3
-43
lines changed

flake.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/haskell.nix

-40
Original file line numberDiff line numberDiff line change
@@ -72,46 +72,6 @@ haskell-nix.cabalProject' ({ pkgs
7272
setGitRev = ''${pkgs.buildPackages.haskellBuildUtils}/bin/set-git-rev "${gitrev}" $out/bin/*'';
7373
in
7474
[
75-
# Allow reinstallation of Win32
76-
({ pkgs, ... }: lib.mkIf pkgs.stdenv.hostPlatform.isWindows {
77-
nonReinstallablePkgs =
78-
[
79-
"rts"
80-
"ghc-heap"
81-
"ghc-prim"
82-
"integer-gmp"
83-
"integer-simple"
84-
"base"
85-
"deepseq"
86-
"array"
87-
"ghc-boot-th"
88-
"pretty"
89-
"template-haskell"
90-
# ghcjs custom packages
91-
"ghcjs-prim"
92-
"ghcjs-th"
93-
"ghc-boot"
94-
"ghc"
95-
"array"
96-
"binary"
97-
"bytestring"
98-
"containers"
99-
"filepath"
100-
"ghc-boot"
101-
"ghc-compact"
102-
"ghc-prim"
103-
# "ghci" "haskeline"
104-
"hpc"
105-
"mtl"
106-
"parsec"
107-
"text"
108-
"transformers"
109-
"xhtml"
110-
# "stm" "terminfo"
111-
];
112-
# When cross compfixesiling we don't have a `ghc` package
113-
packages.plutus-tx-plugin.flags.use-ghc-stub = true;
114-
})
11575
({ pkgs, ... }: {
11676
packages.tx-generator.package.buildable = with pkgs.stdenv.hostPlatform; isUnix && !isMusl;
11777
packages.cardano-tracer.package.buildable = with pkgs.stdenv.hostPlatform; isUnix && !isMusl;

0 commit comments

Comments
 (0)