shell.nix (279B)
1 let 2 pkgs = import <nixpkgs> { 3 config.allowUnfree = false; 4 overlays = [ ]; 5 }; 6 7 ghcenv = pkgs.haskellPackages.ghcWithPackages (p: with p; [ xmonad xmonad-contrib ]); 8 in 9 pkgs.stdenv.mkDerivation { 10 name = "xmonad-dev-env"; 11 buildInputs = [ ghcenv ]; 12 }