mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
9 lines
221 B
Bash
9 lines
221 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 --no-out-link)
|
|
|
|
cmp $outPath fetchurl.nix
|