diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-05-14 10:28:17 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-05-14 10:28:17 -0600 |
commit | 4daccb279c547b90b0c17c8a64825f04abdf0f7e (patch) | |
tree | 29f36dd07e6ca9b2790950f593e5a0a8ca92500c /src/libexpr | |
parent | ef9dd9f9bc18abc9761812e30a26008c99a26166 (diff) |
formatting
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/primops.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index d21c49813..9b9cbfc2e 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -767,7 +767,6 @@ static void prim_derivationStrict(EvalState & state, const Pos & pos, Value * * .nixCode = NixCode { .errPos = posDrvName } }); - /* Check whether the derivation name is valid. */ if (isDerivation(drvName)) throw EvalError( @@ -776,7 +775,6 @@ static void prim_derivationStrict(EvalState & state, const Pos & pos, Value * * .nixCode = NixCode { .errPos = posDrvName } }); - if (outputHash) { /* Handle fixed-output derivations. */ if (outputs.size() != 1 || *(outputs.begin()) != "out") |