ninja: include package name in source archive path
So that the nix store path becomes this: /nix/store/HASH-ninja-1.2.0.zip.drv instead of this anonymous path: /nix/store/HASH-v1.2.0.zip.drv
This commit is contained in:
parent
d35466a1f5
commit
40d35e4bd5
@ -5,6 +5,7 @@ stdenv.mkDerivation rec {
|
|||||||
version = "1.2.0";
|
version = "1.2.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
name = "${name}.zip";
|
||||||
url = "https://github.com/martine/ninja/archive/v${version}.zip";
|
url = "https://github.com/martine/ninja/archive/v${version}.zip";
|
||||||
sha256 = "15ynh806ah37bqb57hcs3mj2g82900sncp6n3bssfggb4azgjlh3";
|
sha256 = "15ynh806ah37bqb57hcs3mj2g82900sncp6n3bssfggb4azgjlh3";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user