ofborg/nix/update-nixpkgs.sh
2021-07-07 12:19:54 -07:00

6 lines
192 B
Bash
Executable file

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-prefetch-git
nix-prefetch-git https://github.com/nixos/nixpkgs.git \
--rev refs/heads/nixos-unstable > ./nix/nixpkgs.json