Jake Hillion
80b4305e60
All checks were successful
continuous-integration/drone/push Build is passing
add simple script to update nix shell/run nixpkgs to match flake nixpkgs-unstable input. this avoids having it set to the default of nixpkgs-unstable and downloading 30MB tarballs all the time.
6 lines
232 B
Bash
Executable File
6 lines
232 B
Bash
Executable File
#!/bin/sh
|
|
set -xe
|
|
|
|
VERSION=`curl https://gitea.hillion.co.uk/JakeHillion/nixos/raw/branch/main/flake.lock | nix run nixpkgs#jq -- -r '.nodes."nixpkgs-unstable".locked.rev'`
|
|
nix registry add nixpkgs "github:NixOS/nixpkgs/${VERSION}"
|