desktop and xmonad wrappers: preferLocalBuild
Also no substitution.
This commit is contained in:
parent
bada26d5ab
commit
b92c4a51e6
@ -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: ''
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user