Skip to content

Commit

Permalink
Update haskell.nix for win32 file access error
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack authored and newhoggy committed Jul 4, 2022
1 parent e961553 commit 1d8b642
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 43 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 0 additions & 40 deletions nix/haskell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,46 +72,6 @@ haskell-nix.cabalProject' ({ pkgs
setGitRev = ''${pkgs.buildPackages.haskellBuildUtils}/bin/set-git-rev "${gitrev}" $out/bin/*'';
in
[
# Allow reinstallation of Win32
({ pkgs, ... }: lib.mkIf pkgs.stdenv.hostPlatform.isWindows {
nonReinstallablePkgs =
[
"rts"
"ghc-heap"
"ghc-prim"
"integer-gmp"
"integer-simple"
"base"
"deepseq"
"array"
"ghc-boot-th"
"pretty"
"template-haskell"
# ghcjs custom packages
"ghcjs-prim"
"ghcjs-th"
"ghc-boot"
"ghc"
"array"
"binary"
"bytestring"
"containers"
"filepath"
"ghc-boot"
"ghc-compact"
"ghc-prim"
# "ghci" "haskeline"
"hpc"
"mtl"
"parsec"
"text"
"transformers"
"xhtml"
# "stm" "terminfo"
];
# When cross compfixesiling we don't have a `ghc` package
packages.plutus-tx-plugin.flags.use-ghc-stub = true;
})
({ pkgs, ... }: {
packages.tx-generator.package.buildable = with pkgs.stdenv.hostPlatform; isUnix && !isMusl;
packages.cardano-tracer.package.buildable = with pkgs.stdenv.hostPlatform; isUnix && !isMusl;
Expand Down

0 comments on commit 1d8b642

Please sign in to comment.