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 exit 0
''; '';
mkDesktops = names: pkgs.runCommand "desktops" {} mkDesktops = names: pkgs.runCommand "desktops"
{ # trivial derivation
preferLocalBuild = true;
allowSubstitutes = false;
}
'' ''
mkdir -p $out mkdir -p $out
${concatMapStrings (n: '' ${concatMapStrings (n: ''

View File

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