Post A0UZopTR0FDCL1adAe by sneak@s.sneak.berlin
(DIR) More posts by sneak@s.sneak.berlin
(DIR) Post #9zzdmCP63JD0eyVtK4 by sneak@s.sneak.berlin
2020-10-09T18:13:42Z
0 likes, 0 repeats
linux OSes should not let you install packages via the command line; you should be required to add them to a syntax-checked file and then run a command to ensure system installed packages match the file.
(DIR) Post #9zzdoa3b55wyb9aoMK by mewmew@blob.cat
2020-10-09T18:14:10.383715Z
1 likes, 0 repeats
@sneak that would be so incredibly frustrating
(DIR) Post #A0JQDun0RLEz6TB4CG by jmcs@social.tchncs.de
2020-10-19T07:16:02Z
0 likes, 0 repeats
@sneak something like Gemfile.lock in Ruby poetry.lock in python but for system packages?
(DIR) Post #A0K98aErunXhr92eoa by raboof@quey.org
2020-10-19T15:39:18Z
0 likes, 0 repeats
@sneak have you heard the good news about #nixos?😂
(DIR) Post #A0UZop9EDN35KM8Ufw by unclechu@mastodon.social
2020-10-20T15:53:22Z
0 likes, 0 repeats
@raboof @sneak Haha, yeah, you should definitely check out #NixOS.
(DIR) Post #A0UZopTR0FDCL1adAe by sneak@s.sneak.berlin
2020-10-24T16:25:25Z
0 likes, 0 repeats
@unclechu @raboof this toot was inspired by nixos.
(DIR) Post #A0UZsOHi289BAent4q by sneak@s.sneak.berlin
2020-10-24T16:26:04Z
0 likes, 0 repeats
@unclechu @raboof which, incidentally, still lets you set yourself up for file collisions via `nix-env -i <pkg>` instead of requiring that they be in configuration.nix
(DIR) Post #A0UaFeZzcDaEMwRqm8 by unclechu@mastodon.social
2020-10-24T16:30:16Z
0 likes, 0 repeats
@sneak @raboof I personally have never used “nix-env”, just never felt that I need it. I’m not even sure how it works, just heard before that it’s “impure” or something like this. If I need a package which is not installed into my system I just do “nix-shell -p <pkg> --run <pkg>”.
(DIR) Post #A0UaM8qtyVyDznS1wW by sneak@s.sneak.berlin
2020-10-24T16:31:28Z
0 likes, 0 repeats
@unclechu @raboof i'm glad that you know in advance all of the packages you want installed on your system. i do not.
(DIR) Post #A0Uaiio8yRcTsevb0q by unclechu@mastodon.social
2020-10-24T16:35:31Z
0 likes, 0 repeats
@sneak @raboof I am not. I just install new packages incrementally. It’s not very hard to add a new line here https://github.com/unclechu/nixos-config/blob/66cdfa5bc29ff252f4b63fd5a204683435599246/my-packages.nix#L149 and call “sudo nixos-rebuild switch” and commit+push the changes. Once you fill this list enough it happens pretty rare.
(DIR) Post #A0Uasbko3SBStp55Ps by sneak@s.sneak.berlin
2020-10-24T16:37:19Z
0 likes, 0 repeats
@unclechu @raboof yes that is precisely what i do now, and what this thread is about. it's also possible to add system packages without touching configuration.nix via `nix-env -i <pkg>` which then causes overlaps with the packages in configuration.nix, requiring an uninstall `nix-env --uninstall <pkg>` before `nixos-rebuild switch` will work.
(DIR) Post #A0Y0pXLkYBlXiXO8Ho by raboof@quey.org
2020-10-26T08:12:07Z
0 likes, 0 repeats
@sneak @unclechu right - so you *can* get the behavior you want (by deciding not to use nix-env), but indeed you're not 'required' to.I wonder if nix-env should even be installed on NixOS by default - I've always thought of it as something you'd use when using Nix outside of NixOS.
(DIR) Post #A1KQG0vy85NrAErs5w by chillja@metalhead.club
2020-11-18T16:43:14Z
0 likes, 0 repeats
@sneak so, nixOS?
(DIR) Post #A1Kz2DXTxq5IbEZTYe by sneak@s.sneak.berlin
2020-11-18T23:12:58Z
0 likes, 0 repeats
@chillja nixos lets you nix-env -i without touching configuration.nix
(DIR) Post #A1Kzf4nkNtTqnHhyrY by chillja@metalhead.club
2020-11-18T23:19:57Z
0 likes, 0 repeats
@sneak fair point.