Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 02e46cacc6b051a31b8f18df2ac7bd3658ac6c85
      
https://github.com/NixOS/nixpkgs/commit/02e46cacc6b051a31b8f18df2ac7bd3658ac6c85
  Author: Patrick Mahoney <[email protected]>
  Date:   2015-05-18 (Mon, 18 May 2015)

  Changed paths:
    M pkgs/tools/misc/keychain/default.nix

  Log Message:
  -----------
  keychain: fixup shebang, use upstream builder, install manpage

fixup shebang - build was not running fixupPhase, and shebang was pointing to
/bin/sh. On a system where /bin/sh links to dash, this results in errors:

    
/nix/store/v40yk16fl1rhvr6zz91ij753ziyphwwp-keychain-2.8.0/bin/.keychain-wrapped:
 59: 
/nix/store/v40yk16fl1rhvr6zz91ij753ziyphwwp-keychain-2.8.0/bin/.keychain-wrapped:
 shopt: not found
    
/nix/store/v40yk16fl1rhvr6zz91ij753ziyphwwp-keychain-2.8.0/bin/.keychain-wrapped:
 686: 
/nix/store/v40yk16fl1rhvr6zz91ij753ziyphwwp-keychain-2.8.0/bin/.keychain-wrapped:
 Syntax error: "(" unexpected (expecting ")")

use upstream builder - the include Makefile uses perl to generate a manpage and
insert the same text into the keychain script for '--help' output, which was
otherwise missing:

    $ keychain --help

     * keychain 2.8.0 ~ http://www.funtoo.org

    [snip]

    INSERT_POD_OUTPUT_HERE

install manpage - self explanatory


_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to