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
|
@ -4,6 +4,8 @@ pkgs.runCommand
|
||||||
"home-manager-install"
|
"home-manager-install"
|
||||||
{
|
{
|
||||||
propagatedBuildInputs = [ home-manager ];
|
propagatedBuildInputs = [ home-manager ];
|
||||||
|
preferLocalBuild = true;
|
||||||
|
allowSubstitutes = false;
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
echo
|
echo
|
||||||
echo "Creating initial Home Manager generation..."
|
echo "Creating initial Home Manager generation..."
|
||||||
|
|
|
@ -220,6 +220,9 @@ in
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgs.xlibs.lndir ];
|
nativeBuildInputs = [ pkgs.xlibs.lndir ];
|
||||||
|
|
||||||
|
preferLocalBuild = true;
|
||||||
|
allowSubstitutes = false;
|
||||||
|
|
||||||
# Symlink directories and files that have the right execute bit.
|
# Symlink directories and files that have the right execute bit.
|
||||||
# Copy files that need their execute bit changed.
|
# Copy files that need their execute bit changed.
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
|
|
|
@ -349,6 +349,9 @@ in
|
||||||
pkgs.stdenv.mkDerivation {
|
pkgs.stdenv.mkDerivation {
|
||||||
name = "home-manager-generation";
|
name = "home-manager-generation";
|
||||||
|
|
||||||
|
preferLocalBuild = true;
|
||||||
|
allowSubstitutes = false;
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue