| 26 Jun 2023 |
dariof4 | In reply to @adham-omran:matrix.org So, in this case what should I do? set your home-manager url to the release-23.05 branch, like so url = "github:nix-community/home-manager/release-23.05"; | 12:06:52 |
@adham-omran:matrix.org | I'll test now, thank you | 12:08:15 |
@adham-omran:matrix.org | okay, internet speed ain't good at work, I'll report back when I'm home, thank you! | 12:13:13 |
dariof4 | np :-) | 12:17:13 |
@adham-omran:matrix.org | It worked! | 13:16:51 |
| 27 Jun 2023 |
| kurogeek joined the room. | 07:36:58 |
twitchy0 | Is there a way to ensure that the source for a flake.lock is always available in my nix store? I think it's getting garbage collected. | 12:25:17 |
twitchy0 | On the nixos wiki I see the following for overlays
overlays."<name>" = final: prev: { };
overlays.default = { };
Are the types of these two the same?
| 12:44:08 |
twitchy0 | * On the nixos wiki for flakes I see the following for overlays
overlays."<name>" = final: prev: { };
overlays.default = { };
Are the types of these two the same?
| 12:44:18 |
Artturin | In reply to @twitchy0:matrix.org
On the nixos wiki for flakes I see the following for overlays
overlays."<name>" = final: prev: { };
overlays.default = { };
Are the types of these two the same?
yes, edited the wiki to make them the same | 12:52:03 |
| pat joined the room. | 16:12:01 |
pat | I have a basic question about flakes. If flake A depends on flake B, and both flake A and flake B depend on flake C, then when the lock file is generated for flake A, will it respect the lock file for flake B for the specific version of flake C? Does adding "flakeB.inputs.flakeC = ..." in the flake.nix file for flake A change this behavior? | 16:30:41 |
CRTified | Yes, it respects the lock of flake b | 16:31:58 |
CRTified | follows is used to override that | 16:32:11 |
CRTified | From the wiki:
sops-nix = {
url = "github:Mic92/sops-nix";
# The `follows` keyword in inputs is used for inheritance.
# Here, `inputs.nixpkgs` of sops-nix is kept consistent with the `inputs.nixpkgs` of
# the current flake, to avoid problems caused by different versions of nixpkgs.
inputs.nixpkgs.follows = "nixpkgs";
};
| 16:32:41 |
CRTified | https://nixos.wiki/wiki/Flakes#Flake_schema | 16:33:10 |
pat | Got it. Thanks for the quick response! | 16:33:16 |
| 29 Jun 2023 |
emily | any way to do nix flake check only for the current system? | 06:24:47 |
emily | checking e.g. whether other systems' outputs are valid derivations has issues with IFD :( | 06:25:10 |
kenji | In reply to @emilazy:matrix.org any way to do nix flake check only for the current system? Isn't that what the current nix release does? | 06:52:23 |
kenji | At least I know it does it for `nix flake show` , I thought it also does it for the checks, but I am not sure. | 06:53:02 |
emily | not according to the results i'm getting :) | 06:59:44 |
emily | it won't build for other platforms | 06:59:47 |
emily | but it will run derivation checks for them | 06:59:54 |
emily | in the presence of IFD, evaluation requires building, so... | 07:00:04 |
@theophane:hufschmitt.net | emily: I think something for that got added recently | 07:51:40 |
@theophane:hufschmitt.net | https://github.com/NixOS/nix/pull/7759 . Should be in 2.16 if I'm not mistaken | 07:52:41 |
| 30 Jun 2023 |
Sandro 🐧 | yes, saw that yesterday | 19:14:14 |
| beect changed their display name from Brendan Taylor to beect. | 21:53:06 |
| 1 Jul 2023 |
Industrial | Hi. I'm trying to use someone else's flake and run programs that it built: https://gist.github.com/Industrial/b91a195cfb1628e86b1fbd617ac14633 I'm getting error: Dependency is not of a valid type: element 2 of buildInputs for nix-shell. I don't understand the structure of the llama-cpp package/flake or how to get the commandline programs from it and make them available in my devShell. I tried using ChatGPT to get it to work but it's not creating a working flake for me :/ (https://github.com/ggerganov/llama.cpp/blob/master/flake.nix) | 12:08:16 |