aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-11-15 14:57:50 +0100
committerKarel Kočí <cynerd@email.cz>2022-11-15 14:57:50 +0100
commit0d5e13b2606ec4c99872dfe3b5cc949c9dea41e1 (patch)
treeb05bb91e19bc066c8cb1fac4d6f6995a0ec2878d
parent98a3290811b0470b8aa43fd7ed5a9ea2659978d8 (diff)
downloadnixos-personal-0d5e13b2606ec4c99872dfe3b5cc949c9dea41e1.tar.gz
nixos-personal-0d5e13b2606ec4c99872dfe3b5cc949c9dea41e1.tar.bz2
nixos-personal-0d5e13b2606ec4c99872dfe3b5cc949c9dea41e1.zip
pkgs/dev: fix invalid target for known target
-rwxr-xr-xpkgs/dev/dev.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/dev/dev.sh b/pkgs/dev/dev.sh
index 23b1fae..2d71c41 100755
--- a/pkgs/dev/dev.sh
+++ b/pkgs/dev/dev.sh
@@ -7,7 +7,7 @@ shift
known_shells="$(tr ':' '\n' <<<"${DEV_SHELLS:-}")"
while IFS='=' read name drv res; do
if [ "$target" == "$name" ]; then
- target="$drv#$name"
+ target="$drv"
break
fi
done <<<"$known_shells"