1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-05 10:22:31 +01:00
server/nix-rebuild-flake.sh

5 lines
199 B
Bash
Raw Normal View History

2023-12-10 22:25:22 +01:00
#!/usr/bin/env nix-shell
#!nix-shell -i "bash -x" -p bash
DEPS_HASH=`nix run nixpkgs#prefetch-npm-deps -- package-lock.json`
sed 's/$NPM_HASH/'${DEPS_HASH/\//\\\/}'/g' flake.template.nix > flake.nix