aggreact/nix/update-nixpkgs.sh

6 lines
201 B
Bash
Raw Normal View History

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