aggreact/nix/update-nixpkgs.sh
2019-04-03 22:36:17 +02:00

5 lines
201 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-channels.git \
--rev refs/heads/nixos-unstable > ./nix/nixpkgs.json