Skip to content

Commit 5724013

Browse files
committed
Add portable build file
1 parent f81f03f commit 5724013

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

portable_build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
curl -L https://github.com/DavHau/nix-portable/releases/latest/download/nix-portable-$(uname -m) > ./nix-portable
6+
chmod +x ./nix-portable
7+
8+
./nix-portable nix build
9+
./nix-portable nix-shell -p bash --run "cp -rL result public"

0 commit comments

Comments
 (0)