about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/patchelf
diff options
context:
space:
mode:
authorIhar Hrachyshka <ihar@redhat.com>2019-04-01 13:44:47 -0700
committerIhar Hrachyshka <ihrachys@redhat.com>2019-08-30 13:18:10 -0700
commit59bed0a7b3248b8cf5a174097508fdf35988a4ef (patch)
tree7190c1b87a948debba5e3cf8105ef8a41f654dfd /pkgs/development/tools/misc/patchelf
parent0611b32e9250fd47c0fb8ef59645381d4c9a6f2a (diff)
downloadnixlib-59bed0a7b3248b8cf5a174097508fdf35988a4ef.tar
nixlib-59bed0a7b3248b8cf5a174097508fdf35988a4ef.tar.gz
nixlib-59bed0a7b3248b8cf5a174097508fdf35988a4ef.tar.bz2
nixlib-59bed0a7b3248b8cf5a174097508fdf35988a4ef.tar.lz
nixlib-59bed0a7b3248b8cf5a174097508fdf35988a4ef.tar.xz
nixlib-59bed0a7b3248b8cf5a174097508fdf35988a4ef.tar.zst
nixlib-59bed0a7b3248b8cf5a174097508fdf35988a4ef.zip
Adjust patchelfUnstable to patchelf derivation layout
Diffstat (limited to 'pkgs/development/tools/misc/patchelf')
-rw-r--r--pkgs/development/tools/misc/patchelf/unstable.nix12
1 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/development/tools/misc/patchelf/unstable.nix b/pkgs/development/tools/misc/patchelf/unstable.nix
index 401380b83015..f5ff1c74bcc9 100644
--- a/pkgs/development/tools/misc/patchelf/unstable.nix
+++ b/pkgs/development/tools/misc/patchelf/unstable.nix
@@ -13,10 +13,6 @@ stdenv.mkDerivation rec {
   postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
     substituteInPlace tests/Makefile.am \
       --replace "set-rpath-library.sh" ""
-  '' +
-  # extend version identifier to more informative than "0.10".
-  ''
-    echo -n ${version} > version
   '';
 
   setupHook = [ ./setup-hook.sh ];
@@ -26,11 +22,11 @@ stdenv.mkDerivation rec {
 
   doCheck = !stdenv.isDarwin;
 
-  meta = {
+  meta = with stdenv.lib; {
     homepage = https://nixos.org/patchelf.html;
-    license = "GPL";
+    license = licenses.gpl3;
     description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
-    maintainers = [ stdenv.lib.maintainers.eelco ];
-    platforms = stdenv.lib.platforms.all;
+    maintainers = [ maintainers.eelco ];
+    platforms = platforms.all;
   };
 }