| 14 May 2024 |
| @ajustinlime:matrix.org left the room. | 22:44:55 |
| 15 May 2024 |
| raghavsood joined the room. | 08:27:41 |
| raghavsood set a profile picture. | 08:38:26 |
Thatoo | mewpjust to let you know that I'm typing with this ergol.xkb_custom keaybord layout. It has work exactly as you said. After a logout/login, I could choose and use it.
Thank you.
| 14:44:56 |
| @fomosapien:matrix.org changed their display name from Triskelion (AFK) to Triskelion. | 14:45:25 |
mewp | happy I could help | 14:46:12 |
| 17 May 2024 |
woobilicious | how would I do the equivent of nix build 'nixpkg/<commit>#pkg but on a local clone? ./<commit>#pkg obviously doens't work. | 09:03:11 |
woobilicious | even better if I could do HEAD~1 | 09:05:48 |
| @alex3829:matrix.org left the room. | 13:11:19 |
samasaur | i think it's nix build '.?rev=<commit>#pkg' | 17:49:29 |
| 18 May 2024 |
| @erazemk:matrix.org left the room. | 17:15:22 |
| 20 May 2024 |
| @northben:pixelchef.net joined the room. | 20:33:14 |
| @daschw:matrix.org left the room. | 20:49:46 |
| @alx_sim:matrix.org left the room. | 22:39:18 |
| 21 May 2024 |
| @bumperboat:matrix.org changed their display name from bumperboat (UTC+8) to bumperboat (UTC+7). | 04:34:22 |
| jalaziz joined the room. | 05:05:15 |
jalaziz | I'm switching from shell.nix to Flakes. With shell.nix, I could use nix-build to effectively build the derivation and store it.
With Flakes, it seems like I can do nix build ".#devShells.aarch64-darwin.default", but I need the system which is not very convenient. Is there an equally simple way to pre-build the derivation without having to specify the system and without dropping into a shell?
| 05:07:47 |
nim65s | jalaziz: https://github.com/nix-community/nix-direnv is a solution for that I think | 10:44:45 |
| Tanja (she/her) joined the room. | 11:34:51 |
Bryan | nix-direnv does not itself present a way to fix this problem, but you can rely on it to not gc the derivation (which is at least a partial answer?) | 18:30:57 |
jalaziz | Unfortunately that's mostly only useful for a local machine. I was trying to pre-build the derivation for CI purposes. So direnv won't work.
I found an interesting technique looking at https://github.com/numtide/devshell/blob/12e914740a25ea1891ec619bb53cf5e6ca922e40/docs/src/flake-app.md?plain=1#L7 that makes it so it's a bit easier to call nix build on the devShells derivation.
| 18:53:29 |
remi-gelinas | Can't push the devshell to cachix? | 19:10:20 |
| @janik0:matrix.org left the room. | 19:11:10 |
Bryan | AbĂlio Costa: I missed your reply here. I am sorry for that! Both nix-direnv and flakeenv take a flake specifier for the flake you want to use: use flake /home/acosta/dev/thirdparty/nix-environments#home-assistant or use flake_env home/acosta/dev/thirdparty/nix-environments#home-assistant should work, I would think!
I wrote and maintain flakeenv and am a maintainer of nix-direnv, so if you have trouble - please ping me here or (preferably) on the repo for the tool in question :)
| 21:03:34 |