From 40d35e4bd595cf3851e1bffcbb9e92c2ed3b4f1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Fri, 17 May 2013 15:34:35 +0200 Subject: [PATCH] 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 --- pkgs/development/tools/build-managers/ninja/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/tools/build-managers/ninja/default.nix b/pkgs/development/tools/build-managers/ninja/default.nix index 6edf6d78878d..168bd10718e2 100644 --- a/pkgs/development/tools/build-managers/ninja/default.nix +++ b/pkgs/development/tools/build-managers/ninja/default.nix @@ -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"; };