diff options
| author | Ben Sima <ben@bsima.me> | 2019-12-01 16:55:07 -0800 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2019-12-01 16:55:07 -0800 |
| commit | e20c6cf00bf92296615473588d3d08ead57e66cf (patch) | |
| tree | f1a6a77302312a7635f4ba737ef96e3c69fedb9a /nix-pin | |
| parent | 4cc7908d39ef08307450a97baa462f6dbdb0ddd1 (diff) | |
rename nix-pin -> nixos-pin
Diffstat (limited to 'nix-pin')
| -rwxr-xr-x | nix-pin | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/nix-pin b/nix-pin deleted file mode 100755 index 30253b6..0000000 --- a/nix-pin +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -[[ -z $1 ]] && echo "usage: nix-pin <hash>" && exit 1 - -url="https://github.com/NixOS/nixpkgs/archive/$1.tar.gz" -hash=$(nix-prefetch-url --unpack $url) - -cat <<EOF -# generated with ~/bin/nix-pin -{ - url = "$url"; - sha256 = "$hash"; -} -EOF |
