!9IQChSjwSHXPPWTa:lix.systems

Lix

1121 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms302 Servers

Load older messages


SenderMessageTime
13 May 2024
@fwam:femdom.solutionsfwam
In reply to @hexa:lossy.network
say what you want to say 🤷
started in 2022, active since june 2023
23:45:43
@qyriad:katesiria.orgQyriad/run/current-system/sw/bin/nix vs /nix/var/nix/profiles/default/bin/nix, namely23:45:43
@isabel:isabelroses.comisabel
In reply to @fwam:femdom.solutions
"recently"
I believe he means she's able to merge PRs
23:45:50
@fwam:femdom.solutionsfwamah23:46:02
@isabel:isabelroses.comisabel not that she's made her first contributionĀ  23:46:02
@samrose:matrix.orgsamrose
In reply to @qyriad:katesiria.org
/run/current-system/sw/bin/nix vs /nix/var/nix/profiles/default/bin/nix, namely
yes and in general you are dealing with "profiles", and path aliases
23:47:06
@fwam:femdom.solutionsfwam
In reply to @isabel:isabelroses.com
I believe he means she's able to merge PRs
fair
23:48:05
@samrose:matrix.orgsamrose"nix flake apps" also work well on non-nixos systems, and I've been surprised that more people do not use them to run services and programs23:48:07
@fwam:femdom.solutionsfwamcan't say i like using nix flake outside of nixos, tbh 23:48:36
@fwam:femdom.solutionsfwam * can't say i like using nix flakes outside of nixos, tbh 23:48:41
@qyriad:katesiria.orgQyriad nix run does kind of magically make arbitrarily-complex-packaged software trivially usable 23:48:46
@samrose:matrix.orgsamroseand possibly could be a good way to write repeatable tests too23:48:56
@qyriad:katesiria.orgQyriad
In reply to@fwam:femdom.solutions
can't say i like using nix flakes outside of nixos, tbh
why? and we ask this as selves-admitted flake… well, not haters, but we're very "ugh flakes"
23:49:26
@sigmasquadron:matrix.org@sigmasquadron:matrix.org
In reply to @qyriad:katesiria.org
nix run does kind of magically make arbitrarily-complex-packaged software trivially usable
purely functional magic
23:49:46
@fwam:femdom.solutionsfwam
In reply to @qyriad:katesiria.org
why? and we ask this as selves-admitted flake… well, not haters, but we're very "ugh flakes"

hm... purely because i didn't have a use for it, yet.

nothing nix-shell can't do for me, at least.

23:50:13
@qyriad:katesiria.orgQyriad (speaking of which, y'all know nix run works on non-flakes too right?) 23:50:19
@samrose:matrix.orgsamroseI don't pretend to even know what the problems are with flakes, although I do believe you all that there are problems. I just went all in on them about 2 years ago, and just dealt with whatever comes along with that. 23:51:16
@samrose:matrix.orgsamroseI did not know that nix run works on non-flakes23:51:36
@qyriad:katesiria.orgQyriad it's not exactly ergenomic, but it works on any arbitrary Nix-anything that evaluates to a derivation that sets mainProgram:
$ nix run --impure --expr 'let log2compdb = fetchGit "https://github.com/Qyriad/log2compdb"; in import log2compdb { }' . -- --version
log2compdb 0.2.5
23:52:42
@raitobezarius:matrix.orgraitobezarius
In reply to @samrose:matrix.org
I don't pretend to even know what the problems are with flakes, although I do believe you all that there are problems. I just went all in on them about 2 years ago, and just dealt with whatever comes along with that.
i recommend samueldr or jade's articles on flakes
23:53:04
@qyriad:katesiria.orgQyriad all the nix3 commands work on non-flakes, this is just extremely shittily documented (so far) 23:53:05
@raitobezarius:matrix.orgraitobezariusthey're a really good quick presentation on the layering violations induced by flakes23:53:13
@raitobezarius:matrix.orgraitobezarius
  • what qyriad just said
23:53:17
@raitobezarius:matrix.orgraitobezarius * plus what qyriad just said23:53:19
@samrose:matrix.orgsamrose can you use nix run on non flakes because you can make an "installable" with nix, which then nix run can run? 23:53:24
@qyriad:katesiria.orgQyriad an "installable" is actually not flake-specific, it's just flake by default (annoyingly) 23:53:46
@samrose:matrix.orgsamroseyeah you can call a function that makes an installable in nix basically23:54:06
@samrose:matrix.orgsamroseok23:54:08
@easrng:yuri.imeasrng
In reply to @qyriad:katesiria.org
all the nix3 commands work on non-flakes, this is just extremely shittily documented (so far)
do they get the nicer progress display without flakes?
23:54:52
@qyriad:katesiria.orgQyriad there are four kinds of installables:
  • flakeref + attrpath

  • a full /nix/store path

  • a nix expression and an (optionally empty) attrpath, with --expr (or -E in Lix)

  • a nix file and an (optionally empty) attrpath, with --file/-f

23:55:03

Show newer messages


Back to Room ListRoom Version: 10