1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

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