mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2025-12-27 16:54:57 +08:00
temp
This commit is contained in:
parent
2cd41d0a18
commit
a6663338a4
2 changed files with 3 additions and 2 deletions
|
|
@ -8,12 +8,13 @@
|
|||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
customGhc = pkgs.haskellPackages.ghcWithPackages (p: with p; [ containers ]);
|
||||
in
|
||||
{
|
||||
devShells = rec {
|
||||
default = pkgs.mkShell {
|
||||
buildInputs = [ customGhc ];
|
||||
shellHook = ''
|
||||
export FOO="bar"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue