mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-12-10 03:49:44 +00:00
fix(devshell): add local bin folder to PATH via shellHook
This commit is contained in:
parent
63b25a9174
commit
a29c713ca5
1 changed files with 3 additions and 6 deletions
|
|
@ -89,12 +89,9 @@
|
||||||
pkgs.sops
|
pkgs.sops
|
||||||
];
|
];
|
||||||
|
|
||||||
packages = [
|
shellHook = ''
|
||||||
(pkgs.symlinkJoin {
|
export PATH=${builtins.toPath ./bin}:$PATH
|
||||||
name = "deploy-bin";
|
'';
|
||||||
paths = [ ./bin ];
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue