mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Credit de-generate
This commit is contained in:
parent
59c1d021b7
commit
2cdc50d20d
3
nvm.sh
3
nvm.sh
@ -2005,7 +2005,8 @@ nvm_nixos_postinstall() {
|
||||
mv "${VERSION_PATH}/bin/node" "${VERSION_PATH}/bin/node.bin" || return 1
|
||||
|
||||
if [[ ! -f "${DE_GENERATE_TEMPLATE_PATH}" ]]; then
|
||||
echo '{ pkgs ? import <nixpkgs> {} }: #
|
||||
# Credits: https://github.com/lexleogryfon/de-generate
|
||||
echo '{ pkgs ? import <nixpkgs> {} }: #
|
||||
(pkgs.buildFHSUserEnv {
|
||||
name = "nvm-env";
|
||||
targetPkgs = pkgs: with pkgs; [ coreutils ];
|
||||
|
Loading…
Reference in New Issue
Block a user