3
0
Fork 0
forked from mirrors/nixpkgs

desktop and xmonad wrappers: preferLocalBuild

Also no substitution.
This commit is contained in:
Vladimír Čunát 2015-09-01 09:42:08 +02:00
parent bada26d5ab
commit b92c4a51e6
2 changed files with 9 additions and 1 deletions

View file

@ -161,7 +161,11 @@ let
exit 0
'';
mkDesktops = names: pkgs.runCommand "desktops" {}
mkDesktops = names: pkgs.runCommand "desktops"
{ # trivial derivation
preferLocalBuild = true;
allowSubstitutes = false;
}
''
mkdir -p $out
${concatMapStrings (n: ''

View file

@ -13,4 +13,8 @@ in stdenv.mkDerivation {
--set NIX_GHC "${xmonadEnv}/bin/ghc" \
--set XMONAD_XMESSAGE "${xmessage}/bin/xmessage"
'';
# trivial derivation
preferLocalBuild = true;
allowSubstitutes = false;
}