!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

899 Members
For people hacking on the Nix package manager itself188 Servers

Load older messages


SenderMessageTime
26 Mar 2025
@mightyiam:matrix.orgShahar "Dawn" OrSorry for rubber ducking here20:30:16
@mightyiam:matrix.orgShahar "Dawn" OrHere's the reproduction. Should I file an issue? https://github.com/mightyiam/reproduction-nixos-nix-git-dir-affects-evaluation20:53:51
@roberthensing:matrix.orgRobert Hensing (roberth) Shahar "Dawn" Or (mightyiam): yes please :) 21:10:05
@mightyiam:matrix.orgShahar "Dawn" Orhttps://github.com/NixOS/nix/issues/1276221:23:15
@Ericson2314:matrix.orgJohn Ericson emily: We have consensus on your idea for #include "nix/...." 22:00:20
@Ericson2314:matrix.orgJohn Ericsonwould you be willing to take a stab at implementing that?22:00:27
@emilazy:matrix.orgemilyI'm probably going to be very busy for the next month or two so I think wouldn't have the time to hack on it :(22:24:05
@emilazy:matrix.orgemilyI think I outlined basically what I'd do in here before though22:24:12
@Ericson2314:matrix.orgJohn Ericson emily: fair enough 22:25:57
@Ericson2314:matrix.orgJohn Ericson fs.copyfile right? 22:26:02
@emilazy:matrix.orgemily right, if you want to synthesize an include/nix in the build directory. though my actual proposal was just to move the files :) 22:31:48
@Ericson2314:matrix.orgJohn Ericson emily: yes moving the files is what i have implemented today 22:52:16
@Ericson2314:matrix.orgJohn Ericson but I sold Eelco on the compromise that you invented :) 22:52:31
27 Mar 2025
@Ericson2314:matrix.orgJohn Ericson hmm custom targets don't work with install_headers 00:20:39
@Ericson2314:matrix.orgJohn EricsonI think I therefore want to symlnk the headers in the repo00:22:25
@Ericson2314:matrix.orgJohn Ericson Eelco: is that OK with you? 00:22:31
@fzakaria:one.ems.hostfzakariais there a good link to understand how the outPath is calculated for a drv ?02:48:57
@Ericson2314:matrix.orgJohn Ericsonhttps://github.com/NixOS/nix/pull/12764 OK it's done (pending CI)05:50:17
@Ericson2314:matrix.orgJohn Ericsonbackport to avoid conflicts on other backports? not sure05:50:27
@roberthensing:matrix.orgRobert Hensing (roberth)these new docs seem relevant https://nix.dev/manual/nix/development/store/derivation/index.html10:36:50
@roberthensing:matrix.orgRobert Hensing (roberth)also its subpages10:36:59
@emilazy:matrix.orgemily
In reply to @Ericson2314:matrix.org
https://github.com/NixOS/nix/pull/12764 OK it's done (pending CI)
seems better to just ignore /libcmd/*.hh etc. rather than having an extra step for every new header
12:17:07
@sinan:sinanmohd.comsinan changed their profile picture.13:10:48
@Ericson2314:matrix.orgJohn Ericson emily: some libraries do have private headers, however 14:59:42
@Ericson2314:matrix.orgJohn EricsonI would make more of that cleaning up the configuration headers too15:00:03
@Ericson2314:matrix.orgJohn Ericson* I would make more of them cleaning up the configuration headers too15:00:08
@emilazy:matrix.orgemily include-private/? :) 15:02:27
@emilazy:matrix.orgemily or include/nix-private, avoids setting up another flag 15:02:43
@Ericson2314:matrix.orgJohn Ericsonhmm maybe15:04:52
@Ericson2314:matrix.orgJohn Ericson it is traditional to put the private headers with the source files, but it is also traditional to put the private headers and source files in something like src/ to distinguish from include/ 15:06:47

Show newer messages


Back to Room ListRoom Version: 6