mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
home-manager: fix bug in which home-manager.nix is not found
Closes https://github.com/NixOS/nixpkgs/issues/236940
(cherry picked from commit 8b486efc11)
This commit is contained in:
@@ -55,7 +55,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
]
|
||||
}" \
|
||||
--subst-var-by HOME_MANAGER_LIB '${placeholder "out"}/share/bash/home-manager.sh' \
|
||||
--subst-var-by HOME_MANAGER_PATH "" \
|
||||
--subst-var-by HOME_MANAGER_PATH "${finalAttrs.src}" \
|
||||
--subst-var-by OUT '${placeholder "out"}'
|
||||
|
||||
installShellCompletion --bash --name home-manager.bash home-manager/completion.bash
|
||||
@@ -85,8 +85,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
found in Nixpkgs. It allows declarative configuration of user specific
|
||||
(non global) packages and dotfiles.
|
||||
'';
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user