Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { nixpkgs ? import <nixpkgs> {} }:
- let
- inherit (nixpkgs) pkgs;
- inherit (pkgs) haskellPackages;
- haskellDeps = ps: with ps; [
- base
- yesod
- ];
- ghc = haskellPackages.ghcWithPackages haskellDeps;
- nixPackages = [
- ghc
- pkgs.gdb
- pkgs.cabal2nix
- haskellPackages.cabal-install
- ];
- in
- pkgs.stdenv.mkDerivation {
- name = "env";
- buildInputs = nixPackages;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement