mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-11 06:55:40 +03:00
Fix shell.nix (#499)
This commit is contained in:
parent
c111ecefa6
commit
d241e560ea
14
shell.nix
14
shell.nix
@ -1,11 +1,11 @@
|
||||
with import <nixpkgs> {};
|
||||
let this = import ./. {}; in
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
pkgs = import ./nixpkgs/default.nix (import ./default.nix);
|
||||
in pkgs.stdenv.mkDerivation rec {
|
||||
name = "env";
|
||||
env = buildEnv { name = name; paths = buildInputs; };
|
||||
env = pkgs.buildEnv { name = name; paths = buildInputs; };
|
||||
buildInputs = [
|
||||
this.ghc
|
||||
this.cabal-install
|
||||
this.nix-tools
|
||||
pkgs.cabal-install
|
||||
pkgs.haskell-nix.ghc
|
||||
pkgs.haskell-nix.nix-tools
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user