Skip to content

Commit 5dc9df1

Browse files
committed
docs: update readme, deindent package variant example
1 parent f3ef724 commit 5dc9df1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ CI_PLATFORM=impure nix run -f https://github.com/arcnmx/ci/archive/v0.7.tar.gz r
2121

2222
package.nix supports a `features` parameter. If you define a package with features, you can use the variant in both the outputs and within CI to provide builds with certain features.
2323
```nix
24-
exampleWithFeatures = pkgs.callPackage ./package.nix {
25-
craneLib = packageCraneLib;
26-
features = [ "lots-of-spaghetti" ];
27-
};
24+
exampleWithFeatures = pkgs.callPackage ./package.nix {
25+
craneLib = packageCraneLib;
26+
features = [ "lots-of-spaghetti" ];
27+
};
2828
```

0 commit comments

Comments
 (0)