on master help sign in
Hack around terrible thing in nixpkgs
cc5549cJohn Ericson
release.nix+6−1
@@ -65,7 +65,12 @@ let
65 command = local-self.command;
65 command = local-self.command;
66 skeleton = import ./skeleton { obelisk = local-self; };
66 skeleton = import ./skeleton { obelisk = local-self; };
67 serverSkeletonExe = skeleton.exe;
67 serverSkeletonExe = skeleton.exe;
68+ # TODO fix nixpkgs so it doesn't try to run the result of haskell shells as setup hooks.
69+ serverSkeletonShell = local-self.nixpkgs.runCommand "shell-safe-for-dep" {} ''
70+ touch "$out"
71+ echo "return" >> "$out"
68− serverSkeletonShell = skeleton.shells.ghc;
72+ cat "${skeleton.shells.ghc}" >> "$out"
73+ '';
69 androidObelisk = import ./. (self-args // {
74 androidObelisk = import ./. (self-args // {
70 config.android_sdk.accept_license = true;
75 config.android_sdk.accept_license = true;
71 });
76 });