mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
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";
|
||||
|
||||
src = fetchurl {
|
||||
name = "${name}.zip";
|
||||
url = "https://github.com/martine/ninja/archive/v${version}.zip";
|
||||
sha256 = "15ynh806ah37bqb57hcs3mj2g82900sncp6n3bssfggb4azgjlh3";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user