summary refs log tree commit diff
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2017-06-01 22:17:47 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2017-06-10 17:10:49 +0200
commitf12b0a2179585d443bf0abab3ac1cfccebc24512 (patch)
tree98f19196026e9e0b6f6ec4cf63cbb10a9452c597 /pkgs/tools/filesystems
parent700e22f7bf8ca96741c2eb8fe13cf15bc6e67daa (diff)
downloadnixlib-f12b0a2179585d443bf0abab3ac1cfccebc24512.tar
nixlib-f12b0a2179585d443bf0abab3ac1cfccebc24512.tar.gz
nixlib-f12b0a2179585d443bf0abab3ac1cfccebc24512.tar.bz2
nixlib-f12b0a2179585d443bf0abab3ac1cfccebc24512.tar.lz
nixlib-f12b0a2179585d443bf0abab3ac1cfccebc24512.tar.xz
nixlib-f12b0a2179585d443bf0abab3ac1cfccebc24512.tar.zst
nixlib-f12b0a2179585d443bf0abab3ac1cfccebc24512.zip
bcache-tools: add name to the source store path
So that

 $ nix-build -A bcache-tools.src

gives

 /nix/store/HASH-bcache-tools-1.0.7.tar.gz

instead of

 /nix/store/HASH-v1.0.7.tar.gz
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r--pkgs/tools/filesystems/bcache-tools/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/bcache-tools/default.nix b/pkgs/tools/filesystems/bcache-tools/default.nix
index 288cd14c16bb..e1a2f7d5bf7e 100644
--- a/pkgs/tools/filesystems/bcache-tools/default.nix
+++ b/pkgs/tools/filesystems/bcache-tools/default.nix
@@ -5,6 +5,7 @@ stdenv.mkDerivation rec {
   version = "1.0.7";
 
   src = fetchurl {
+    name = "${name}.tar.gz";
     url = "https://github.com/g2p/bcache-tools/archive/v${version}.tar.gz";
     sha256 = "1gbsh2qw0a7kgck6w0apydiy37nnz5xvdgipa0yqrfmghl86vmv4";
   };