Nix Flakes | 856 Members | |
| 177 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 Jul 2025 | ||
| 19:31:15 | ||
| 15 Jul 2025 | ||
| 00:03:46 | ||
| 00:06:08 | ||
| 00:12:02 | ||
| 00:12:14 | ||
| 00:13:34 | ||
| devShells is not a project, it's an output of a nix flake ie. | 01:46:56 | |
| if you are looking at devenv or something it's totally different and usually unnecessary | 01:47:10 | |
In reply to @atagen:ch.atagen.cooh i see! i need to read up on this. sounds like i was heading in the right direction with a flake, but wasn't using devShells to wrap my mkShell. will report back | 07:27:29 | |
| 22:52:11 | ||
| yay it worked! thank you | 22:58:13 | |
| 16 Jul 2025 | ||
| 13:47:38 | ||
| 14:36:15 | ||
| Hello, I have a environment that is built with buildEnv. I've added this buildEnv to a devShell's packages and I can confirm that when I run How can I create a bash default runnable (nix run) such that running it is equivalent to running nix develop and then running the bash script ? | 14:38:45 | |
| * Hello, I have an environment that is built with buildEnv. I've added this buildEnv to a devShell's packages and I can confirm that when I run How can I create a bash default runnable (nix run) such that running it is equivalent to running nix develop and then running the bash script ? | 14:39:05 | |
| 17 Jul 2025 | ||
| are you perhaps looking for shellHook in the mkShell ? | 04:16:03 | |
using nix run to enter a dev shell seems a little off but if you put the bash script into the shell packages and execute it in shellHook I think you can achieve what you want | 04:17:34 | |
using nix run to enter a dev shell seems a little off but if you put the bash script into the shell packages and execute it in shellHook I think you can achieve what you want with just the nix develop cmd | 04:17:44 | |
| open the flake in nix repl and look at the devShell attrset to see how it works. and I think for nix run to work you just set mainProgram in the meta section of a package, plenty of examples in nixpkgs. | 06:17:36 | |
| 15:00:04 | ||
| 18:20:07 | ||
| 18:58:42 | ||
| 18 Jul 2025 | ||
| 14:23:39 | ||
| 21:52:51 | ||
| 21 Jul 2025 | ||
| 11:07:58 | ||
| 22 Jul 2025 | ||
| 02:21:11 | ||
| 15:32:16 | ||
using a flake with nixos configuration, should i use the imports list in configuration.nix, or the modules list in flake.nix for including hardware-configuration.nix? | 15:34:25 | |
same question with disko-config.nix | 15:55:22 | |
| I use this:
and my | 15:58:18 | |