9 lines
306 B
Bash
Executable file
9 lines
306 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# https://nix.dev/guides/recipes/post-build-hook.html#implementing-the-build-hook
|
|
set -eu
|
|
set -f # disable globbing
|
|
export IFS=' '
|
|
echo "Uploading paths" $OUT_PATHS
|
|
# this is where the cachix installer installs nix
|
|
exec /nix/var/nix/profiles/default/bin/nix copy --to "s3://nixcache" $OUT_PATHS
|