!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

886 Members
177 Servers

Load older messages


SenderMessageTime
17 Oct 2021
@colemickens:matrix.orgcolemickens 🏳️‍🌈 David Arnold (blaggacao): did you figure out a way to expose/use multiple devShells from a flake? 23:48:34
@colemickens:matrix.orgcolemickens 🏳️‍🌈 I guess this works: nix develop .#devShell2.x86_64-linux 23:49:38
@colemickens:matrix.orgcolemickens 🏳️‍🌈kind of annoying that it doesn't get autocoerced from .#devShell2 in that scenario thoug23:49:50
@blaggacao:matrix.orgDavid Arnold (blaggacao) I think there now is self.devShells so I guess, nix develop python should do self.devShells....python 23:50:05
@blaggacao:matrix.orgDavid Arnold (blaggacao)Not tested, just a bookmark in my head.23:50:55
@colemickens:matrix.orgcolemickens 🏳️‍🌈okay, I'll add a note to try that23:51:19
@blaggacao:matrix.orgDavid Arnold (blaggacao)Tell me if it works 🙂23:51:19
18 Oct 2021
@colemickens:matrix.orgcolemickens 🏳️‍🌈 David Arnold (blaggacao): aight, it's outputs.devShell + outputs.devShells.foo 00:15:17
@colemickens:matrix.orgcolemickens 🏳️‍🌈I think it ought to be outputs.devShells.{default,foo,bar...} but whatever00:15:43
@colemickens:matrix.orgcolemickens 🏳️‍🌈this is more than fine00:15:47
@colemickens:matrix.orgcolemickens 🏳️‍🌈 David Arnold (blaggacao): nix develop github:colemickens/nixcfg#devenv => https://github.com/cole-mickens/nixcfg/blob/ac2b89e9715c1daa730fda9308e0ed1abe941392/flake.nix#L118 00:16:41
@blaggacao:matrix.orgDavid Arnold (blaggacao) Nice!00:37:26
@tyberius_prime:matrix.orgTyberiusPrimeperhaps a stupid question, but how would I interactivly install a flake? like "nix-env -i .."08:32:15
@moritz.hedtke:matrix.orgmoritz.hedtke
In reply to @tyberius_prime:matrix.org
perhaps a stupid question, but how would I interactivly install a flake? like "nix-env -i .."
Maybe https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-profile-install.html#synopsis but I assume most people use a flake.nix with nix develop or home-manager depending on the use case
09:58:20
@moritz.hedtke:matrix.orgmoritz.hedtke If you don't want to install but just use nix shell afaik 09:58:49
@meccine:matrix.orgmeccine joined the room.17:34:30
19 Oct 2021
@cir0x:matrix.orgcir0x joined the room.11:25:07
20 Oct 2021
@lourkeur:nixos.devlourkeur (Nix OwO) set a profile picture.09:11:15
@lourkeur:nixos.devlourkeur (Nix OwO) changed their display name from Louis Bettens to lourkeur (Nix OwO).11:19:29
@lourkeur:nixos.devlourkeur (Nix OwO) changed their profile picture.13:05:38
@lourkeur:nixos.devlourkeur (Nix OwO) changed their profile picture.13:09:21
@Las:matrix.orgLas When doing nix build something I get Invalid operation 43 on a multi-user aarch64-linux install. Does anyone have any idea as to why this happens? It doesn't happen if I use root. 15:14:37
@Las:matrix.orgLas Same thing for nix path-info 15:14:57
@Las:matrix.orgLas * Same thing for nix path-info. 15:15:01
@Las:matrix.orgLasThe building itself succeeds, it only fails at the very end.15:15:10
@Las:matrix.orgLasNevermind, I found my issue, somehow the systemd is running an older executable, even though the executable specified is new.15:18:23
@Las:matrix.orgLas * Nevermind, I found my issue, somehow the systemd is running an older executable, even though the executable specified is a very new one.15:18:33
@Las:matrix.orgLas * Nevermind, I found my issue, somehow systemd is running an older executable, even though the executable specified is a very new one.15:18:39
@Las:matrix.orgLasAnd it's fixed after a restart.15:19:39
@Las:matrix.orgLas * And it's fixed after a reboot.15:19:42

Show newer messages


Back to Room ListRoom Version: 6