forked from mirrors/nixpkgs
desktop and xmonad wrappers: preferLocalBuild
Also no substitution.
This commit is contained in:
parent
bada26d5ab
commit
b92c4a51e6
|
@ -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: ''
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue