mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-17 09:57:27 +03:00
eb15db0450
* Remove unused (and broken) test files * Make default.nix expose pinned nixpkgs Also make `nixpkgs/default.nix` just an attribute set of sources. This is simpler, and consistent with what e.g. `niv` does. * Add backwards compatibility shim, and version argument to allow evolution in future * Fix some missed things * Fix and improve quickstart
13 lines
329 B
Nix
13 lines
329 B
Nix
let
|
|
inherit (import ./default.nix {}) sources nixpkgsArgs;
|
|
pkgs = import sources.nixpkgs-default nixpkgsArgs;
|
|
in pkgs.stdenv.mkDerivation rec {
|
|
name = "env";
|
|
env = pkgs.buildEnv { name = name; paths = buildInputs; };
|
|
buildInputs = [
|
|
pkgs.cabal-install
|
|
pkgs.haskell-nix.ghc
|
|
pkgs.haskell-nix.nix-tools
|
|
];
|
|
}
|