13 lines
327 B
Bash
Executable file
13 lines
327 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
if [ -d "nixpkgs" ]; then
|
|
cd nixpkgs
|
|
# git remote add upstream https://github.com/NixOS/nixpkgs || git remote set-url upstream https://github.com/NixOS/nixpkgs
|
|
# git fetch --all -v
|
|
# git rebase upstream/nixos-unstable -v && git push --force
|
|
cd ..
|
|
fi
|
|
|
|
nix flake update
|
|
./build.sh / $HOSTNAME
|