mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 23:52:55 +00:00
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 New Issue
Block a user