| 4 Aug 2021 |
Jez (he/him) | It fails with the following: | 20:30:07 |
Jez (he/him) | ❯ nix build .#devShell.x86_64-linux
error: builder for '/nix/store/4z64v9y8a6ic2ppgixg2z0d0zqnghvb5-nix-shell.drv' failed with exit code 1;
last 4 log lines:
> nobuildPhase
>
> This derivation is not meant to be built, aborting
>
For full logs, run 'nix log /nix/store/4z64v9y8a6ic2ppgixg2z0d0zqnghvb5-nix-shell.drv'.
| 20:30:14 |
| jul1u5 joined the room. | 23:08:58 |
tomberek | Jez (he/him): can you publish your flake repo somewhere? | 23:26:43 |
| 5 Aug 2021 |
colemickens 🏳️🌈 | Jez (he/him): stick an ".inputDerivation" there on the end of that ;) | 04:51:38 |
j-k | Is there a nice way to build aws AMIs using flakes?
I've been reading this https://github.com/nh2/nixos-ami-building but I'm not sure how to cleanly do it with flakes | 11:05:14 |
j-k | ami = import "${nixpkgs}/nixos/release.nix" {
configuration = ./my/file/configuration.nix;
};
λ nix build .#ami.amazonImage.x86_64-linux
λ ls ./result
nix-support nixos-amazon-image-21.11pre130979.gfedcba-x86_64-linux.vhd
is promising
| 11:16:44 |
j-k | ahh I can do nix build .#nixosConfigurations.HOSTNAME.config.system.build.toplevel -> nix build .#nixosConfigurations.HOSTNAME.config.system.build.amazonImage if I add the nixos/maintainers/scripts/ec2/amazon-image.nix module, not just the nixos/modules/virtualisation/amazon-image.nix | 11:32:16 |
j-k | * ahh I can do nix build .#nixosConfigurations.HOSTNAME.config.system.build.toplevel -> nix build .#nixosConfigurations.HOSTNAME.config.system.build.amazonImage if I add the nixos/maintainers/scripts/ec2/amazon-image.nix module, not just the nixos/modules/virtualisation/amazon-image.nix module | 11:32:32 |
| 6 Aug 2021 |
| jurraca joined the room. | 17:36:46 |
| 7 Aug 2021 |
| David Arnold (blaggacao) changed their display name from David Arnold to David Arnold (blaggacao). | 17:57:32 |
| David Arnold (blaggacao) removed their profile picture. | 17:57:52 |
| David Arnold (blaggacao) set a profile picture. | 17:58:18 |
| 9 Aug 2021 |
| dadada (they/them) changed their display name from dadada to dadada (they/them). | 15:59:58 |
| 11 Aug 2021 |
| elonsroadster changed their display name from Ivan Malison to elonsroadster. | 00:18:57 |
elonsroadster | Is there a way to ignore the flake.lock file of a flake that you are using as an input completely? | 05:20:36 |
balsoft | People who manage their nixos desktops with flakes: how do you handle the programs.sqlite thing? It used to be distributed together with channels, but now it isn't... | 11:59:44 |
balsoft | * People who manage their nixos desktops with flakes: how do you handle the programs.sqlite thing? It used to be distributed together with channels, but it's not an option with flakes... | 13:06:03 |
niksnut | In reply to @balsoft:balsoft.ru People who manage their nixos desktops with flakes: how do you handle the programs.sqlite thing? It used to be distributed together with channels, but it's not an option with flakes... Yeah, that's not supported with flakes. | 17:57:09 |
Jez (he/him) | What's the programs.sqlite thing? | 19:13:10 |
andi- | It is for the programs-not-found handler that tells you which package(s) a binary might be in that isn't in your PATH. | 19:21:09 |
tomberek | ls /nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite -alh | 19:22:25 |
Jez (he/him) | Ah! I assumed it was an attribute set from configuration.nix 🙃 | 19:28:06 |
Jez (he/him) | programs.sqlite.enable = true; 😉 | 19:28:28 |
Jez (he/him) | Anyway, I use a flake to manage my system config, and home-manager within that, and the home manager option programs.command-not-found.enable = true; seems to work for me | 19:29:56 |
Jez (he/him) | But I've not tried it without hm | 19:30:11 |
elonsroadster | Is there a standard way to allow users of a flake devShell to add further customizations to that shell? | 22:16:36 |
elonsroadster | I suppose that an import extension that happens if some file in the directory exists might work, but the annoying thing is that the file would need to be git added at minimum to be included. | 22:17:43 |
| 12 Aug 2021 |
balsoft | In reply to @jez:petrichor.me Anyway, I use a flake to manage my system config, and home-manager within that, and the home manager option programs.command-not-found.enable = true; seems to work for me It works only if you have the channel. I don't. | 00:08:53 |
balsoft | In reply to @niksnut:matrix.org Yeah, that's not supported with flakes. Ok, thanks. | 00:09:10 |