Build Helpers: Difference between revisions
Created page with "Nixpkgs hosts a number of simple functions called "build helpers", that are commonly used as part of a larger derivation, such as stdenv.mkDerivation. These helpers can be used part of a larger derivation, or to produce a simple derivation that doesn't need the full power of the standard environment. === Trivial Build Helpers === {{Expansion|Doesn't cover all builders, see: https://nixos.org/manual/nixpkgs/unstable/#part-builders}} ==== runCommandWi..." |
m minor update to syntax |
||
| Line 25: | Line 25: | ||
derivationArgs.nativeBuildInputs = [ sassc ]; | derivationArgs.nativeBuildInputs = [ sassc ]; | ||
} '' | } '' | ||
mkdir -p $out | mkdir -p $out | ||
sassc ${./style.scss} $out/style.css | sassc ${./style.scss} $out/style.css | ||
'' | '' | ||