From 643b62c8f14c8685c9be273991d9e568ba02b6bf Mon Sep 17 00:00:00 2001 From: hacker1024 Date: Sun, 16 Apr 2023 03:21:29 +1000 Subject: [PATCH] dart.fetch-dart-deps: Don't allow overriding the deps derivation name --- pkgs/build-support/dart/fetch-dart-deps/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.