mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 23:02:27 +00:00
10 lines
207 B
Bash
10 lines
207 B
Bash
source common.sh
|
|
|
|
clearStore
|
|
|
|
hash=$(nix-hash --flat --type sha256 ./fetchurl.nix)
|
|
|
|
outPath=$(nix-build ./fetchurl.nix --argstr filename $(pwd)/fetchurl.nix --argstr sha256 $hash)
|
|
|
|
cmp $outPath fetchurl.nix
|