Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1# nix run ../../../../..#cabal2nix -- ./local 2{ 3 mkDerivation, 4 base, 5 lib, 6}: 7mkDerivation { 8 pname = "local"; 9 version = "0.1.0.0"; 10 src = ./local; 11 isLibrary = false; 12 isExecutable = true; 13 executableHaskellDepends = [ base ]; 14 description = "Nixpkgs test case"; 15 license = lib.licenses.mit; 16 mainProgram = "local"; 17}