!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

890 Members
For people hacking on the Nix package manager itself191 Servers

Load older messages


SenderMessageTime
27 Mar 2025
@philiptaron:matrix.orgPhilip Taron (UTC-8)(Since I assume that adding Nix 2.27 doesn't at the same time drop 2.26, which would be madness.)21:49:32
@philiptaron:matrix.orgPhilip Taron (UTC-8) * Yes -- what I mean is that all that code was checked in under pkgs/tools/package-management/nix/vendor/2_26/ -- so this is the version that figures out how to share it or copy it/ 21:49:42
@emilazy:matrix.orgemilyI guess it should, since the Nix team only support the latest version and the version in Nixpkgs stable.21:52:48
@emilazy:matrix.orgemilybtw, there is a much more sensible packaging in https://github.com/NixOS/nixpkgs/pull/393509 but sadly I think it is not being pursued21:53:17
@ss:someonex.netSomeoneSerge (back on matrix)

What on earth does "output" without method or hash or path or anything at all mean?

    "name": > "bootstrap-stage0-binutils-wrapper-",
    "outputs": {
      "out": {}
    },

CC Martin Schwaighofer

21:56:21
@emilazy:matrix.orgemilythose are split outputs, no?22:12:07
@emilazy:matrix.orgemily the Nixpkgs outputs = … 22:12:21
@nishimara:matrix.orgnishimara joined the room.22:21:49
@Ericson2314:matrix.orgJohn Ericsondeferred input-addressed22:34:13
@Ericson2314:matrix.orgJohn Ericsoni.e. it is an input-addressed that depends on content-addressed22:34:23
@Ericson2314:matrix.orgJohn Ericsonwe're waiting to building the content-addressed before we can input-address22:34:44
@Ericson2314:matrix.orgJohn Ericson this has the effect of doing an an end-run around hashDerivationModulo 22:35:07
@Ericson2314:matrix.orgJohn Ericson the thing we will end up using for input-addressing is the resolved derivation, with no inputSrcs 22:35:22
@Ericson2314:matrix.orgJohn Ericson * the thing we will end up using for input-addressing is the resolved derivation, with no inputDrvs only inputSrcs 22:35:31
28 Mar 2025
@fzakaria:one.ems.hostfzakariaif I have an ATerm drv file; how can I add it to my store ?01:59:00
@fzakaria:one.ems.hostfzakaria(assuming "it's correct")01:59:05
@fzakaria:one.ems.hostfzakariaoh nix-store --add but the name has to end in .drv02:14:24
@mschwaig:matrix.orgMartin Schwaighofer
In reply to @Ericson2314:matrix.org
the thing we will end up using for input-addressing is the resolved derivation, with no inputDrvs only inputSrcs
Ok, I understand, thanks
13:14:30
@Ericson2314:matrix.orgJohn Ericson Mic92: btw if we could get diff3 enabled on mergify backports with committed conflicts, that would be great :) 17:09:10
@joerg:thalheim.ioMic92 John Ericson: can't see an option just now. Maybe we can use some github action again in the future for backports 17:33:26
@Ericson2314:matrix.orgJohn Ericson Mic92: it's a not a huge deal at all 17:34:05
@Ericson2314:matrix.orgJohn Ericsonnot action is fine17:34:10
@Ericson2314:matrix.orgJohn Ericsonjust thought I would let you know17:34:15
@joerg:thalheim.ioMic92also with mergiraf support17:35:02
@fzakaria:one.ems.hostfzakariahttps://github.com/NixOS/nix/blob/master/src/libutil/hash.cc#L387 Can I do this from the CLI somehow ? compressHash23:30:22
@puck:puck.moepucki wouldn't bother, it's a single xor :p23:31:00
@fzakaria:one.ems.hostfzakariawell im trying to construct the hashes by hand23:33:25
@fzakaria:one.ems.hostfzakarianot being able to construct things individually is kind of lame.23:33:41
@puck:puck.moepuckwell, you need something to actually do the sha256summing too23:48:01
29 Mar 2025
@fzakaria:one.ems.hostfzakariasha256sum exists00:30:55

Show newer messages


Back to Room ListRoom Version: 6