about summary refs log tree commit diff
path: root/pkgs/applications/editors/tecoc
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/editors/tecoc
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/editors/tecoc')
-rw-r--r--pkgs/applications/editors/tecoc/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/editors/tecoc/default.nix b/pkgs/applications/editors/tecoc/default.nix
index dd986b346a37..48af4a99dada 100644
--- a/pkgs/applications/editors/tecoc/default.nix
+++ b/pkgs/applications/editors/tecoc/default.nix
@@ -3,7 +3,7 @@
 
 stdenv.mkDerivation rec {
 
-  name = "tecoc-git-${version}";
+  pname = "tecoc-git";
   version = "20150606";
 
   src = fetchFromGitHub {
@@ -28,9 +28,9 @@ stdenv.mkDerivation rec {
   makeFlags = [ "CC=${stdenv.cc}/bin/cc" "-C src/" ];
 
   installPhase = ''
-    mkdir -p $out/bin $out/share/doc/${name} $out/lib/teco/macros
+    mkdir -p $out/bin $out/share/doc/${pname}-${version} $out/lib/teco/macros
     cp src/tecoc $out/bin
-    cp src/aaout.txt doc/* $out/share/doc/${name}
+    cp src/aaout.txt doc/* $out/share/doc/${pname}-${version}
     cp lib/* lib2/* $out/lib/teco/macros
     (cd $out/bin
      ln -s tecoc Make