diff options
author | volth <volth@volth.com> | 2019-08-15 12:41:18 +0000 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2019-08-15 13:41:18 +0100 |
commit | 46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6 (patch) | |
tree | 46b871987347acf0215f8a9bf54df275aed9c496 /pkgs/applications/networking/insync | |
parent | cff9e6429a4341e924594f5e057b03ca8101b314 (diff) | |
download | nixlib-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/insync')
-rw-r--r-- | pkgs/applications/networking/insync/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/insync/default.nix b/pkgs/applications/networking/insync/default.nix index 3719a69138c6..3a2b32f01175 100644 --- a/pkgs/applications/networking/insync/default.nix +++ b/pkgs/applications/networking/insync/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchurl, makeWrapper }: stdenv.mkDerivation rec { - name = "insync-${version}"; + pname = "insync"; version = "1.5.7.37371"; src = if stdenv.hostPlatform.system == "x86_64-linux" then @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { sha256 = "1cm3q6y2crw6pcsvh21sbkmh1hin7xl4fyslc96nbyql8rxsky5n"; } else - throw "${name} is not supported on ${stdenv.hostPlatform.system}"; + throw "${pname}-${version} is not supported on ${stdenv.hostPlatform.system}"; buildInputs = [ makeWrapper ]; |