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:
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