Nix Flakes | 857 Members | |
| 176 Servers |
| Sender | Message | Time |
|---|---|---|
| 19 Jul 2021 | ||
| 15:01:48 | ||
nix-build and nix build seem to produce different results. nix build vs nix-build with getFlake behave differently, the outPath for former doesn't contain .git, but the latter does. | 22:32:11 | |
* nix-build and nix build seem to produce different results. nix build vs nix-build with getFlake behave differently, the outPath for former doesn't contain .git, but the latter does. | 22:56:25 | |
| 20 Jul 2021 | ||
| can a flake have inputs of arbitrary types? | 01:27:51 | |
| * can a flake have inputs of an arbitrary type? | 01:28:03 | |
| 03:37:43 | ||
In reply to @vika:matrix.nice.sampler.fiI guess this PR has all the relevant details / fixes https://github.com/NixOS/nix/pull/4641 | 12:46:35 | |
In reply to @polykernel:kde.orgWhat do you mean by "type" of an input? | 12:47:31 | |
| * I guess this PR has all the relevant details / fixes https://github.com/NixOS/nix/pull/4641 somteims one can work around that bug with something like https://www.github.com/divnix/devos/tree/develop/flake.nix#L49 | 12:48:39 | |
| * I guess this PR has all the relevant details / fixes https://github.com/NixOS/nix/pull/4641 somteims one can work around that bug with something like https://www.github.com/divnix/devos/tree/develop/flake.nix#L49. But this work around stops working if things are too nested. | 12:50:13 | |
| * I guess this PR has all the relevant details / fixes https://github.com/NixOS/nix/pull/4641 somteims one can work around that bug with something like https://www.github.com/divnix/devos/tree/develop/flake.nix#L49. But this work around stops working if things are too nested. We usually use the patched nix version in a devshell to update the lock file. The correctly generated lockfile is then also compatible with a non-patched nix version. | 12:51:19 | |
In reply to @vika:matrix.nice.sampler.fiI regard it as a (better) substitute for overlays, as long as overlays is used to instantiate stuff on the same pkgs version. | 12:53:25 | |
In reply to @blaggacao:matrix.orgMaybe I should apply this patch to my Nix | 12:54:36 | |
You might use divnix/digga.overlays.patchedNix for convenience. | 12:56:12 | |
| https://www.github.com/divnix/digga/tree/develop/overlays%2Fnix-patched.nix | 12:56:33 | |
| * vika (she/her) 🏳️⚧️ might use `divnix/digga.overlays.patchedNix` for convenience. | 12:56:43 | |
| * vika (she/her) 🏳️⚧️ you might use `divnix/digga.overlays.patchedNix` for convenience. | 12:56:54 | |
In reply to @blaggacao:matrix.org Cool! Thank you. I wonder what this | 12:58:17 | |
That's just an neglegtable (private) signal to another function of the flake-utils-plus library. | 12:59:04 | |
| This other function automatically exporta overlays as packages, unless they are "upstream art" or have that flag set. | 12:59:39 | |
| * This other function automatically exports overlays as packages, unless they are "upstream art" or have that flag set. | 12:59:57 | |
| https://www.github.com/gytis-ivaskevicius/flake-utils-plus/tree/staging/lib%2FfromOverlays.nix#L70 | 13:00:56 | |
| 14:36:21 | ||
| 21 Jul 2021 | ||
In reply to @balsoft:balsoft.ruSorry for the late reply, I meant other data types such as string, int just as flakes can have arbitrary outputs. However I realized this isn't in the scope of flakes and probably shouldn't be needed in the first place. | 02:35:34 | |
| If my understanding is correct, upon evaluating a flake, the directory where the flake resides is copied into the nix store. However when I attempt to reference a subdirectory of the flake directory within flake.nix itself, I can an error that the file does not exist even though it does.
results in something like | 02:46:26 | |
| * If my understanding is correct, upon evaluating a flake, the directory where the flake resides is copied into the nix store. However when I attempt to reference a subdirectory of the flake directory within flake.nix itself, I get an error that the file does not exist even though it does.
results in something like | 02:46:43 | |
| * If my understanding is correct, upon evaluating a flake, the directory where the flake resides is copied into the nix store. However when I attempt to reference a subdirectory of the flake directory within flake.nix itself, I get an error that the file does not exist even though it does.
results in something like | 02:47:40 | |
| https://digga.divnix.com — I'd be very happy for any feedback on the freshly baked docs. | 05:01:37 | |
| * https://digga.divnix.com -- I'd be very happy for any feedback you could afford on the freshly baked docs. | 05:02:01 | |
| * https://digga.divnix.com -- I'd be very happy for any feedback you could afford on the freshly baked docs. (including proof reading) | 05:04:01 | |