Merge pull request #119891 from Ericson2314/tiny-netbsd-cleanup

netbsd.mkDerviation: remove pointless `attrs.src or`
This commit is contained in:
John Ericson 2021-04-19 16:30:17 -04:00 committed by GitHub
commit 7e0addbbca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ let
stdenv' = if attrs.noCC or false then stdenvNoCC else stdenv;
in stdenv'.mkDerivation ({
name = "${attrs.pname or (baseNameOf attrs.path)}-netbsd-${attrs.version}";
src = attrs.src or fetchNetBSD attrs.path attrs.version attrs.sha256;
src = fetchNetBSD attrs.path attrs.version attrs.sha256;
extraPaths = [ ];