Merge pull request #28039 from nonsequitur/patch-3

ruby docs: simplify example
This commit is contained in:
Charles Strahan 2017-08-08 07:57:31 -04:00 committed by GitHub
commit 7379d68016

View File

@ -111,7 +111,6 @@ the needed dependencies. For example, to make a derivation
in stdenv.mkDerivation {
name = "my-script";
buildInputs = [ env.wrappedRuby ];
phases = [ "installPhase" "fixupPhase" ];
script = ./my-script.rb;
buildCommand = ''
install -D -m755 $script $out/bin/my-script