about summary refs log tree commit diff
path: root/pkgs/applications/networking/ipfs-cluster
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2019-08-15 12:41:18 +0000
committerJörg Thalheim <Mic92@users.noreply.github.com>2019-08-15 13:41:18 +0100
commit46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6 (patch)
tree46b871987347acf0215f8a9bf54df275aed9c496 /pkgs/applications/networking/ipfs-cluster
parentcff9e6429a4341e924594f5e057b03ca8101b314 (diff)
downloadnixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar
nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.gz
nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.bz2
nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.lz
nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.xz
nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.zst
nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.zip
treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
Diffstat (limited to 'pkgs/applications/networking/ipfs-cluster')
-rw-r--r--pkgs/applications/networking/ipfs-cluster/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/ipfs-cluster/default.nix b/pkgs/applications/networking/ipfs-cluster/default.nix
index 870e40d81282..426619908d65 100644
--- a/pkgs/applications/networking/ipfs-cluster/default.nix
+++ b/pkgs/applications/networking/ipfs-cluster/default.nix
@@ -1,7 +1,7 @@
 { stdenv, buildGoPackage, fetchFromGitHub, fetchgx, gx-go }:
 
 buildGoPackage rec {
-  name = "ipfs-cluster-${version}";
+  pname = "ipfs-cluster";
   version = "0.9.0";
   rev = "v${version}";
 
@@ -9,7 +9,7 @@ buildGoPackage rec {
 
   extraSrcPaths = [
     (fetchgx {
-      inherit name src;
+      inherit  src;name = "${pname}-${version}";
       sha256 = "1k7xcirvi07p5g9gr9jcx5h39wk7jxfsyjrn5yraa8xdqhn6b6nx";
     })
   ];