Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created August 6, 2019 10:56
Show Gist options
  • Save cleverca22/09344bfba5cc7476b27bea34688722a5 to your computer and use it in GitHub Desktop.
Save cleverca22/09344bfba5cc7476b27bea34688722a5 to your computer and use it in GitHub Desktop.
stuff = pkgs.runCommand "stuff" { } ''
#!${pkgs.stdenv.shell}
mkdir -p $out/bin
mkdir -p $out/share/man/man1
ln -s ${pkgs.binutils.out}/bin/readelf $out/bin
ln -s ${pkgs.binutils.out}/bin/strings $out/bin
ln -s ${pkgs.binutils.out}/share/man/man1/readelf.1.gz $out/share/man/man1/
ln -s ${pkgs.binutils.out}/share/man/man1/strings.1.gz $out/share/man/man1/
'';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment