diff --git a/pkgs/build-support/dart/fetch-dart-deps/default.nix b/pkgs/build-support/dart/fetch-dart-deps/default.nix index c87714202776..fc4954ae9e83 100644 --- a/pkgs/build-support/dart/fetch-dart-deps/default.nix +++ b/pkgs/build-support/dart/fetch-dart-deps/default.nix @@ -148,7 +148,7 @@ let outputHashAlgo = "sha256"; outputHashMode = "recursive"; outputHash = if vendorHash != "" then vendorHash else lib.fakeSha256; - } // drvArgs); + } // (removeAttrs drvArgs [ "name" "pname" ])); in (makeSetupHook { # The setup hook should not be part of the fixed-output derivation.