Skip to content

Commit 13a3b13

Browse files
committed
fix: use function from lib instead of builtins
1 parent ec0377a commit 13a3b13

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nix/shell-plugins.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ in {
2929
# depending on if it's using `home-manager` or not; this means that Nix can still
3030
# compute the dependency tree, even though we're discarding string context here,
3131
# since the packages are still referred to below without discarding string context.
32-
builtins.unsafeDiscardStringContext (baseNameOf (getExe package)))
33-
cfg.plugins;
32+
strings.unsafeDiscardStringContext (baseNameOf (getExe package))) cfg.plugins;
3433
# Explanation:
3534
# Map over `cfg.plugins` (the value of the `plugins` option provided by the user)
3635
# and for each package specified, get the executable name, then create a shell alias

0 commit comments

Comments
 (0)