mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
Avoid substitution for some derivations
In particular, don't bother attempting to do substitution of the home files and home generation derivations since these rarely, if ever, could be substituted. Fixes #330
This commit is contained in:
parent
39213a1847
commit
99c900946d
3 changed files with 8 additions and 0 deletions
|
@ -4,6 +4,8 @@ pkgs.runCommand
|
|||
"home-manager-install"
|
||||
{
|
||||
propagatedBuildInputs = [ home-manager ];
|
||||
preferLocalBuild = true;
|
||||
allowSubstitutes = false;
|
||||
shellHook = ''
|
||||
echo
|
||||
echo "Creating initial Home Manager generation..."
|
||||
|
|
|
@ -220,6 +220,9 @@ in
|
|||
|
||||
nativeBuildInputs = [ pkgs.xlibs.lndir ];
|
||||
|
||||
preferLocalBuild = true;
|
||||
allowSubstitutes = false;
|
||||
|
||||
# Symlink directories and files that have the right execute bit.
|
||||
# Copy files that need their execute bit changed.
|
||||
buildCommand = ''
|
||||
|
|
|
@ -349,6 +349,9 @@ in
|
|||
pkgs.stdenv.mkDerivation {
|
||||
name = "home-manager-generation";
|
||||
|
||||
preferLocalBuild = true;
|
||||
allowSubstitutes = false;
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out
|
||||
|
||||
|
|
Loading…
Reference in a new issue