Skip to content

Commit

Permalink
Merge pull request #235 from noamraph/patch-1
Browse files Browse the repository at this point in the history
07-working-derivation.md: use `derivation` instead of `mkDerivation`
  • Loading branch information
Ericson2314 committed Apr 9, 2024
2 parents 05407a5 + c91af2e commit 3febfc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pills/07-working-derivation.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Drop out of nix repl and write a file `simple.nix`:
let
pkgs = import <nixpkgs> { };
in
pkgs.stdenv.mkDerivation {
derivation {
name = "simple";
builder = "${pkgs.bash}/bin/bash";
args = [ ./simple_builder.sh ];
Expand Down Expand Up @@ -222,7 +222,7 @@ Below is a revised version of the `simple.nix` file, using the `inherit` keyword
let
pkgs = import <nixpkgs> { };
in
pkgs.stdenv.mkDerivation {
derivation {
name = "simple";
builder = "${pkgs.bash}/bin/bash";
args = [ ./simple_builder.sh ];
Expand Down

0 comments on commit 3febfc1

Please sign in to comment.