!UUqahLbShAYkkrXmKs:matrix.org

DevOS

37 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
12 Oct 2021
@kraftnix:matrix.org@kraftnix:matrix.org I remember at some point there was some discussion on easily applying PRs/patches to nixpkgs, was wondering if there is a devos/digga pattern for it? 19:42:54
@kraftnix:matrix.org@kraftnix:matrix.org * I remember at some point there was some discussion on easily applying PRs/patches to nixpkgs (or other inputs), was wondering if there is a devos/digga pattern for it? 19:43:04
@timdeh:matrix.org@timdeh:matrix.orgflake-utils-plus has its own patching functionality, but irrc digga doesn't currently integrate it19:46:49
@pachumicchu:myrdd.infoPacman99We're holding out hope for a patching feature in nix itself19:47:13
@pachumicchu:myrdd.infoPacman99https://github.com/NixOS/nix/issues/392019:47:35
@kraftnix:matrix.org@kraftnix:matrix.org it would be great in nix itself, I brought it up because I remember seeing a few discussions/issues about it 19:47:48
@kraftnix:matrix.org@kraftnix:matrix.org
In reply to @timdeh:matrix.org
flake-utils-plus has its own patching functionality, but irrc digga doesn't currently integrate it
it would be nice to expose the fups patching functionality in digga/devos, would likely mean I could actually follow nixpkgs directly rather than my own fork
19:58:45
@pachumicchu:myrdd.infoPacman99I think this post sort of summarizes the problems with fups patching system and why I would be wary of integrating it into digga: https://github.com/gytis-ivaskevicius/flake-utils-plus/pull/9020:01:17
@pachumicchu:myrdd.infoPacman99Its a really cool feature, but it is setup in a rather messy way20:02:03
@kraftnix:matrix.org@kraftnix:matrix.org got it, good to know, guess i'll cross my fingers for a resolution at the nix level. in the meantime, anyone have a good workflow for maintaining a fair number of patches to nixpkgs and keeping it up to date? 20:07:02
@timdeh:matrix.org@timdeh:matrix.orga simple derivation that only runs the patch phase should do it20:08:00
@timdeh:matrix.org@timdeh:matrix.org(along with a list of desired patches)20:08:14
14 Oct 2021
@pachumicchu:myrdd.infoPacman99So I think I added bors to divnix/bud, but we need to fix the checks for that to be of any use17:25:00
15 Oct 2021
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orghey guys, at some point there was some conversation on flake inputs in toml file11:48:59
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgi'd like to note long forgotten ini format - it allows using pretty much any characters in its sections11:49:33
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgimage.png
Download image.png
11:49:36
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgmay come in handy11:49:49
@pachumicchu:myrdd.infoPacman99INIs main problem is that there is a lack of a standard spec. TOML has exactly one spec that is universal and well maintained.16:01:42
@timdeh:matrix.org@timdeh:matrix.org Nix does have it's own ini like format for the nix.conf already, so I guess we could use that 16:03:13
@ultranix:matrix.orgultranixi didnt understand the desire to move away from a nix-based flake config file, what's wrong with nix16:32:29
@timdeh:matrix.org@timdeh:matrix.org I dunno, I guess people are always looking for a reason to not use Nix, of which unfortunately there are plenty... 16:38:27
@timdeh:matrix.org@timdeh:matrix.orgIt's difficult to install on some systems (darwin), Nix the language has strange syntax and may be unfamiliar especially to users who have never worked in a purely functional language, nix evals can take an infinite amount of time, etc16:39:21
@timdeh:matrix.org@timdeh:matrix.orgworking professionally with a bunch of Mac OSX users who range from semi to very hostile to Nix, I've become more aware of these issues lately16:41:56
@timdeh:matrix.org@timdeh:matrix.orgLately I've wondering if Nix is actually misclassifying itself as a package manager at all. Perhaps it could more accurately be described as a package compiler. Such a tool is fine for developers who are particular interested in building complex tooling with it, but kinda unsuitable for just quickly installing some packages.16:46:00
@timdeh:matrix.org@timdeh:matrix.org It might be nice to have a more minimal frontend that works more like a traditional package manager, i.e. it doesn't evaluate anything it just has knowledge of where binaries exist in various caches and knows how to pull them 16:46:42
@timdeh:matrix.org@timdeh:matrix.orgbut these are just random thoughts floating around in my head, maybe someday I will come up with something more concrete 😅16:49:01
@blaggacao:matrix.orgDavid Arnold (blaggacao)The appeal of a toml file is familiarity and blocking off too much logic (vs. data) from the entrypoint.17:47:30
@blaggacao:matrix.orgDavid Arnold (blaggacao) I regard nix-lang as a config mgt language with special support for the file system API but no support for remote APIs. 17:48:29
@timdeh:matrix.org@timdeh:matrix.org

I think an inputs.nix would actually be really convenient if it were just a list of refs:

[
  "github:owner/repo1"
  "github:owner/repo2"
  github:owner/repo3/someRev"
]
17:49:35
@timdeh:matrix.org@timdeh:matrix.org *

I think an inputs.nix would actually be really convenient if it were just a list of refs:

[
  "github:owner/repo1"
  "github:owner/repo2"
  "github:owner/repo3/someRev"
]
17:49:47

Show newer messages


Back to Room ListRoom Version: 6