1{ 2 mkDerivation, 3 base, 4 containers, 5 lib, 6}: 7 8mkDerivation { 9 pname = "ghc-settings-edit"; 10 version = "0.1.0"; 11 src = builtins.path { 12 path = ./.; 13 name = "source"; 14 filter = path: _: (builtins.baseNameOf path) != "default.nix"; 15 }; 16 isLibrary = false; 17 isExecutable = true; 18 executableHaskellDepends = [ 19 base 20 containers 21 ]; 22 license = [ 23 lib.licenses.mit 24 lib.licenses.bsd3 25 ]; 26 description = "Tool for editing GHC's settings file"; 27 mainProgram = "ghc-settings-edit"; 28}