Sender | Message | Time |
---|---|---|
15 Aug 2024 | ||
Šimon Brandner | Hi, I am developing a pam module. How would I test the Nix module (and therefore the Pam module) without having to rebuild my system everytime I make a change and want to test it? Is there something clever I can do? | 14:04:48 |
Benedikt | You could use the nixos VM test (see the manual and the wiki about that) | 14:17:34 |
Benedikt | It could be hard to set the test up though (depending on what part of pam you want to test) | 14:18:25 |
Šimon Brandner | It does sound rather complex but I'll at least have a look | 14:28:58 |
Šimon Brandner | Ok, a simpler question: how would I add a new PAM rule in my NixOS config? | 14:40:36 |
Benedikt | I'm not so familiar with pam, but its probably listed in the option search? | 19:01:47 |
16 Aug 2024 | ||
@glaringweakness:nope.chat left the room. | 02:05:58 | |
17 Aug 2024 | ||
wdiaz joined the room. | 04:15:46 | |
@isabel:isabelroses.com left the room. | 12:36:27 | |
qu4pk4 | I am having troubles building Java application with gradle2nix that needs sources from one of the submodules. The nix version is 2.42.2, which is after the .?submodules=1 being needed. I have read this https://github.com/NixOS/nix/pull/7862#issuecomment-1908577578 and what I think is going on is that the submodules aren't being needed and therefore aren't fetched (because they are fetched lazily). What is the canonical way to force them to evaluate? | 15:08:22 |
qu4pk4 | * I am having troubles building Java application with gradle2nix that needs sources from one of the submodules. The nix version is 2.42.2, which is after the .?submodules=1 being needed. I have read this https://github.com/NixOS/nix/pull/7862#issuecomment-1908577578 and what I think is going on is that the submodules aren't being needed by the flake directly and therefore aren't fetched (because they are fetched lazily). What is the canonical way to force them to evaluate? | 15:10:19 |
qu4pk4 | In reply to @qu4pk4:matrix.org Ah, it's the
| 15:50:30 |
18 Aug 2024 | ||
r3vx joined the room. | 14:17:29 | |
Šimon Brandner | I am seeing a peculiar issue:
Has anyone ever seen this? (originally posted elsewhere but this room might be more appropriate) | 19:57:49 |
19 Aug 2024 | ||
aos | My only guess here is that you have channels active and your nix build is using the nixpkgs from your path, while your flake is using a nixpkgs from your input and they are different | 02:48:17 |
Šimon Brandner | I did find out I had some channels on my system but removing them did not do the trick... | 07:06:22 |
Šimon Brandner | Will ask in #rust:nixos.org as well... | 07:19:01 |
Šimon Brandner | How would I handle a flake input that is a Git LFS repo? | 08:51:04 |
Šimon Brandner | This seems to contain some suggestions: https://nixos-and-flakes.thiscute.world/other-usage-of-flakes/inputs | 10:03:18 |
lxsameer | hey folks, do you know any solution to conditional flake inputs? | 10:46:47 |
remi-gelinas | In reply to @lxsameer:matrix.orgHow do you mean? Unused flake inputs in the attribute you're evaluating/building are copied into the store but lazily used iirc | 10:47:42 |
remi-gelinas | There isn't really a conditional flake input | 10:47:52 |
lxsameer | I have a personal repo of a bunch of flake-parts module. I was thinking it would be cool to include haskell related inputs only if my haskell module is enabled. | 10:48:52 |
Šimon Brandner | In reply to @simon.brandner:envs.netThis did not help much since https://github.com/user/repo/archive/main.tar.gz does not include LFS files... | 16:47:08 |
20 Aug 2024 | ||
WeetHet joined the room. | 00:09:39 | |
h4rdstyl3z | Redacted or Malformed Event | 02:03:26 |
@azahi:azahi.cc left the room. | 09:16:52 | |
21 Aug 2024 | ||
ripi joined the room. | 10:26:31 | |
@jake:hillion.co.uk left the room. | 11:30:50 | |
22 Aug 2024 | ||
Artur Manuel joined the room. | 12:57:51 |