Skip to content

Commit 51cfd4e

Browse files
author
Tobias Pflug
committed
Choose system in dev-shell dynamically
1 parent 9f96ac1 commit 51cfd4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev-shell

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#! /bin/sh -e
2-
exec nix-shell release.nix -A build.x86_64-linux --exclude tarball "$@"
2+
SYSTEM=$(nix-instantiate --eval --expr "builtins.currentSystem")
3+
exec nix-shell release.nix -A build.$SYSTEM --exclude tarball "$@"

0 commit comments

Comments
 (0)