!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

893 Members
180 Servers

Load older messages


SenderMessageTime
13 Oct 2021
@balsoft:balsoft.rubalsoft That's really old 12:32:43
@balsoft:balsoft.rubalsoftYeah over a year old12:32:49
@tyberius_prime:matrix.orgTyberiusPrimewell, it's supposed to be a very recent 'nixUnstable'... hm12:34:07
@tyberius_prime:matrix.orgTyberiusPrimefro mnixpkgs-unstable12:34:18
@jez:petrichor.meJez (he/him) 🌦️What other VCS's does nix flakes allow? I've used it with git and mercurial so far 18:55:17
@Las:matrix.orgLasNone I think.20:37:23
@Las:matrix.orgLasIt will still work with other VCSes but not as well.20:37:30
16 Oct 2021
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆdude, please tell me I'm confused.23:00:58
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆ is nix run ... -c command really not a thing anyore" 23:01:07
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆ * is nix run ... -c command really not a thing anymore? 23:01:10
@deeunderscore:feneas.orgDee I think it's always been nix shell … -c command 23:06:37
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆ-_-23:07:13
@deeunderscore:feneas.orgDeeyeah, it's kind of... unintuitive23:07:37
@deeunderscore:feneas.orgDee since nix run nixpkgs#hello is just pretty much nix shell nixpkgs#hello -c hello 23:07:59
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆnix run feels like trying too hard to make flakes some sort of magical docker ux 23:08:37
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆlike I get it, but it doesn't make any sense for a nix repo like nixpkgs, what're ya gonna do, make a flakes.apps.X entry for every bin/app in nixpkgs?23:09:00
@deeunderscore:feneas.orgDee legacyApps 23:09:53
@deeunderscore:feneas.orgDee(I kid)23:09:57
17 Oct 2021
@tomberek:matrix.orgtomberek I’ve been thinking of adding a β€œβ€”command” to β€˜nix run’ for exactly this reason. 03:10:41
@tomberek:matrix.orgtomberek It helps unify the various run/shell/develop sub commands. 03:11:06
@alice:usamimi.networkalice joined the room.07:12:41
@balsoft:balsoft.rubalsoft
In reply to @colemickens:matrix.org
like I get it, but it doesn't make any sense for a nix repo like nixpkgs, what're ya gonna do, make a flakes.apps.X entry for every bin/app in nixpkgs?
No, it falls back to bin/${pname} for binary name by default, so e.g. nix run nixpkgs#hello works
07:31:54
@balsoft:balsoft.rubalsoftI agree tha it's not very useful :/07:32:04
@roosemberth:orbstheorem.chRoosI personally disagree, I don't see it as a docker replacement, but rather as a flatpak alternative.07:49:21
@roosemberth:orbstheorem.chRoos IMHO, I don't think we need an entry for all of the binaries, just the 'main' binary of the package (where it makes sense). For instance, if I want to "run" package redshift-wlr, I would like it to run the redshift binary inside, if I wanted to access to any of the other binaries, I'd enter a shell. 07:52:34
@balsoft:balsoft.rubalsoft
In reply to @roosemberth:orbstheorem.ch
IMHO, I don't think we need an entry for all of the binaries, just the 'main' binary of the package (where it makes sense). For instance, if I want to "run" package redshift-wlr, I would like it to run the redshift binary inside, if I wanted to access to any of the other binaries, I'd enter a shell.
That's still a lot of app entries
07:53:32
@roosemberth:orbstheorem.chRoosYes, but I don't think that's a flakes problem, I think that's a nixpkgs problem.07:53:59
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆDoesn't nix shell pull the pkgs deps in too though?08:44:26
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆisn't that like the whole issue08:44:40
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆ * isn't that like the whole issue - why people try to use run and then wind up resorting to nix shell -c...08:45:08

Show newer messages


Back to Room ListRoom Version: 6