Skip to content

Commit

Permalink
use nix-shell for darwin.sh to get realpath
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Nov 4, 2019
1 parent 5db4caf commit 62060c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion darwin.sh
@@ -1,2 +1,4 @@
HERE="$(dirname $0)"
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p moreutils
HERE="$(realpath $(dirname $0))"
darwin-rebuild $@ -I "darwin-config=$HERE/darwin/default.nix"

0 comments on commit 62060c5

Please sign in to comment.