home-manager: add new dependencies and install script

This commit is contained in:
mtrsk 2019-04-26 09:09:11 -03:00 committed by Robert Helgesson
parent 358c62625a
commit b58a76c574
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -1,7 +1,7 @@
#Adapted from
#https://github.com/rycee/home-manager/blob/9c1b3735b402346533449efc741f191d6ef578dd/home-manager/default.nix
#https://github.com/rycee/home-manager/blob/2c07829be2bcae55e04997b19719ff902a44016d/home-manager/default.nix
{ bash, coreutils, less, stdenv, makeWrapper, fetchFromGitHub }:
{ bash, coreutils, findutils, gnused, less, stdenv, makeWrapper, fetchFromGitHub }:
stdenv.mkDerivation rec {
@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
substituteInPlace $out/bin/home-manager \
--subst-var-by bash "${bash}" \
--subst-var-by coreutils "${coreutils}" \
--subst-var-by findutils "${findutils}" \
--subst-var-by gnused "${gnused}" \
--subst-var-by less "${less}" \
--subst-var-by HOME_MANAGER_PATH '${src}'
'';