-
## Given
``` nix
# flake.nix
{
inputs.flake-parts.url = "github:hercules-ci/flake-parts";
outputs = inputs@{ self, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } ({inp…
-
**Describe the bug**
Sometimes a CircleCI step fails with a final line of output:
```
cachix:
```
The `cachix watch-exec ...` command exits with non-zero status failing the CI job. The fi…
-
Instead of pairing with folks to do manual setup of nix-dev-home on a computer with Nix installed, it'd be great to have an automated script that works like DetSys nix-installer.
It should do:
-…
-
Currently, I am trying to track nixpkgs versions separately for different hosts. My old `flake.nix` had the following:
```nix
{
inputs = {
# To update nixpkgs (and thus NixOS), pick the ni…
-
Add a new template layout that mimics the [mdBook look](https://rust-lang.github.io/mdBook/format/theme/index.html).
And then test it in https://github.com/flake-parts/community.flake.parts/issues/…
srid updated
7 months ago
-
Right now, the entire lazy spec is defined "in a single derivation". Better - I think - would be to build each plugin individually (which we already do) _and_ attach to it (e.g. via `passthru`) its la…
-
The example in https://flake.parts/options/flake-parts.html#opt-flake.nixosConfigurations doesn't use nixosConfigurations and so does not demonstrate its use.
-
We can use venvShellHook with plain shell.nix with something like
```
let
pkgs = import { };
pyPackages = pkgs.python311Packages;
in pkgs.mkShell {
name = "py";
venvDir = "./.venv"…
-
Being able to combine multiple (otherwise disparate) notebooks is useful, such as to render documentation coming from different projects (à la https://community.flake.parts/modules). What does it take…
srid updated
5 months ago
-
For eg., to disable ormolu/fourmolu,
```nix
{
settings.haskell-language-server.custom = with pkgs.haskell.lib.compose; lib.flip lib.pipe [
(disableCabalFlag "ormolu")
(disableCa…
srid updated
3 months ago