1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00
nix/tests/fetchurl.sh

10 lines
221 B
Bash
Raw Normal View History

2012-07-09 15:41:43 -04:00
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 --no-out-link)
2012-07-09 15:41:43 -04:00
cmp $outPath fetchurl.nix