Skip to content

Commit

Permalink
Revert "nix-prefetch-url: support --unpack w/ -A?" (revisit logic)
Browse files Browse the repository at this point in the history
This reverts commit 0c02e2b.
  • Loading branch information
dtzWill committed Nov 19, 2019
1 parent 0c02e2b commit 95a14b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nix-prefetch-url/nix-prefetch-url.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static int _main(int argc, char * * argv)
if (attr == v.attrs->end())
printInfo("warning: this does not look like a fetchurl call");
else
unpack |= state->forceString(*attr->value) == "recursive";
unpack = state->forceString(*attr->value) == "recursive";

/* Extract the name. */
if (name.empty()) {
Expand Down

0 comments on commit 95a14b9

Please sign in to comment.