| 15 Jul 2025 |
| @softmoonworld:matrix.org set a profile picture. | 00:06:08 |
| @softmoonworld:matrix.org changed their profile picture. | 00:12:02 |
| @softmoonworld:matrix.org removed their profile picture. | 00:12:14 |
| @softmoonworld:matrix.org set a profile picture. | 00:13:34 |
atagen | devShells is not a project, it's an output of a nix flake ie.
{
outputs =
{ self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.${system}.default = pkgs.mkShell { packages = [ pkgs.hello ]; };
};
}
| 01:46:56 |
atagen | if you are looking at devenv or something it's totally different and usually unnecessary | 01:47:10 |
@softmoonworld:matrix.org | In reply to @atagen:ch.atagen.co if you are looking at devenv or something it's totally different and usually unnecessary oh 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 |
| ginkogruen joined the room. | 22:52:11 |
@softmoonworld:matrix.org | yay it worked! thank you
| 22:58:13 |
| 16 Jul 2025 |
| cods joined the room. | 13:47:38 |
| SCOTT-HAMILTON joined the room. | 14:36:15 |
SCOTT-HAMILTON | 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 nix develop the environment is accessible.
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 |
SCOTT-HAMILTON | * 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 nix develop the environment is accessible.
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 |
atagen | are you perhaps looking for shellHook in the mkShell ? | 04:16:03 |