3
0
Fork 0
forked from mirrors/nixpkgs

ruby docs: simplify example

The 'phases' attribute is unneeded and misleading
This commit is contained in:
nonsequitur 2017-08-08 12:49:52 +02:00 committed by GitHub
parent 29c3ea0cf0
commit 460a485368

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