1
1
mirror of https://github.com/tweag/asterius.git synced 2024-10-26 09:21:04 +03:00
This commit is contained in:
Cheng Shao 2021-04-23 18:36:23 +00:00
parent 53b76faf7d
commit 2e8f8c5bfc
2 changed files with 8 additions and 16 deletions

View File

@ -1,11 +0,0 @@
pkgs:
with pkgs;
(lib.foldr
(x: acc:
if lib.isDerivation x
then [ x ] ++ (lib.filter (y: x.drvPath != y.drvPath) acc)
else acc)
[ ]
stdenv.allowedRequisites)

View File

@ -7,10 +7,13 @@
}: }:
(pkgs.buildFHSUserEnv { (pkgs.buildFHSUserEnv {
name = "hs-fhs"; name = "hs-fhs";
targetPkgs = ps: import ./nix/stdenv-drvs.nix ps ++ (with ps; [ targetPkgs = ps: (with ps; [
haskellPackages.alex haskellPackages.alex
autoconf269 autoconf
automake
binaryen binaryen
binutils
gcc
haskell.compiler.ghc884 haskell.compiler.ghc884
git git
gmp.dev gmp.dev
@ -25,8 +28,8 @@
zlib.dev zlib.dev
]); ]);
profile = '' profile = ''
export LANG=en_US.utf8; export LANG=en_US.utf8
unset SSL_CERT_FILE; unset NIX_SSL_CERT_FILE
unset NIX_SSL_CERT_FILE; unset SSL_CERT_FILE
''; '';
}).env }).env