!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

225 Members
https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture52 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
15 Mar 2024
@ryantm:matrix.orgryantm Maybe I can trick them by doing something like thing = callPackage ./path/to/package/ { inherit stdenvNoCC;} 23:12:01
@infinisil:matrix.orginfinisilWouldn't work, it's too smart for that :P23:12:54
@infinisil:matrix.orginfinisil ryantm: How about not making it a top-level package? I can see nix-build -A nixpkgsManual.<something> 23:13:40
@ryantm:matrix.orgryantmThat's a good idea.23:14:15
@infinisil:matrix.orginfinisil You can cheat the check by doing inherit ({ foo = callPackage ...; }) foo;, but that's not meant for this kind of thing 23:14:18
@infinisil:matrix.orginfinisil ryantm: Why do you need it to be exposed via the top-level attributes anyways? 23:15:32
@ryantm:matrix.orgryantm infinisil: I just though it'd be nice to run nix run .#nixpkgs-manual-mmdoc-watch probably not required. 23:16:55
@infinisil:matrix.orginfinisil ryantm: I feel like exposing a separate attribute in flake.nix would be better 23:18:30
@infinisil:matrix.orginfinisil ryantm: Like, define it in doc/default.nix primarily, but then do nixpkgsManual = import ./doc or so in flake.nix 23:19:04
@infinisil:matrix.orginfinisil(also camelCase is the convention in Nixpkgs, not snake_case)23:19:52
@infinisil:matrix.orginfinisilBut I also get the argument for wanting the same interface between flakes and non-flakes, which wouldn't work with this..23:21:55

Show newer messages


Back to Room ListRoom Version: 9