ofborg/nix/update-nixpkgs.sh
2018-12-01 09:34:57 -05:00

6 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