forked from mirrors/nixpkgs
ruby docs: simplify example
The 'phases' attribute is unneeded and misleading
This commit is contained in:
parent
29c3ea0cf0
commit
460a485368
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue