!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

136 Members
49 Servers

Load older messages


SenderMessageTime
2 Sep 2024
@trofi:matrix.orgtrofi As long as you document what interface nixpkgs expects from upstream packages and provides to nixpkgs users it should be fine. But it's hard. It's hard even for a seemingly simple CFLAGS interface :) 20:28:20
@emilazy:matrix.orgemilyhell is other people's build systems20:31:32
@emilazy:matrix.orgemilysometimes I wish we could do a gittup/google3 and just write our own builds for every package :)20:31:56
@trofi:matrix.orgtrofiSounds like a disaster :)20:32:33
@trofi:matrix.orgtrofi AFAIU google3 uses somewhat reasonable ./configure && make && make install for many third-parties. I don't think Google maintains it's own, say, openssl build system. 20:33:22
@emilazy:matrix.orgemilyBoringSSL has a public Bazel build system20:34:41
@trofi:matrix.orgtrofiIt's not a thirt-party :)20:34:54
@emilazy:matrix.orgemilyI thought they used BoringSSL over OpenSSL in general20:35:12
@emilazy:matrix.orgemilymy understanding is that there is heavy pressure to Bazel all the things, though I'm sure it's not completely universal20:35:15
@emilazy:matrix.orgemilyI have definitely heard "it's not relevant for Google because they just use their own build system" before, at least20:35:40
@trofi:matrix.orgtrofiGoogle is big :)20:36:59
@trofi:matrix.orgtrofiIt's hard to get uniformity in a huge company. And one has to co-exist with an external world. Thus there are places where openssl has to be used as-is.20:38:01
@emilazy:matrix.orgemilyright20:39:27
@emilazy:matrix.orgemilyI thought there was policy around BoringSSL specifically but I'm just an outsider who occasionally hears whispers20:39:56
@qyliss:fairydust.spaceAlyssa Rossif only there was a better OpenSSL build system tho20:40:00
@emilazy:matrix.orgemilyI'm sure there's very few properties that hold across the entirety of google320:40:05
@qyliss:fairydust.spaceAlyssa RossI hate having to keep adding entries to the mapping of platforms to OpenSSL config names20:40:18
@emilazy:matrix.orgemilywe could just ship BoringSSL!20:40:26
@emilazy:matrix.orgemily(probably we couldn't)20:40:29
@qyliss:fairydust.spaceAlyssa Rossalmost certainly not lol20:40:45
@emilazy:matrix.orgemilythere should be branding flags so that if you're not inside Google it calls itself ExcitingSSL20:41:08
@trofi:matrix.orgtrofi Gah, I stand corrected. Both boringssl and openssl proper(openssl_vendor) use local implementation of the build system and don't seem to rely on the original one any more. sudo is a bit closer to the original (just as an example of a package). 20:53:08
4 Sep 2024
@ss:someonex.netSomeoneSerge (utc+3) changed their display name from SomeoneSerge (UTC+3) to SomeoneSerge (nix.camp).21:48:44
6 Sep 2024
@emilazy:matrix.orgemily an awful lot of packages seem to manually set a bunch of --<foo>dirs that are already set by stdenv. what's up wi that? 12:37:42
@emilazy:matrix.orgemily * an awful lot of packages seem to manually set a bunch of --<foo>dirs that are already set by stdenv. what's up with that? 12:37:45
@emilazy:matrix.orgemily

e.g. jq:

  configureFlags = [
    "--bindir=\${bin}/bin"
    "--sbindir=\${bin}/bin"
    "--datadir=\${doc}/share"
    "--mandir=\${man}/share/man"
12:37:56
@emilazy:matrix.orgemily

lvm2:

  ] ++ lib.optionals (!enableCmdlib) [
    "--bindir=${placeholder "bin"}/bin"
    "--sbindir=${placeholder "bin"}/bin"
    "--libdir=${placeholder "lib"}/lib"
    "--with-libexecdir=${placeholder "lib"}/libexec"
12:38:26
@k900:0upti.meK900 joined the room.12:38:35
@k900:0upti.meK900Uhh12:38:45
@artturin:matrix.orgArtturinBlame and see if those lines are from tens of years ago12:38:46

Show newer messages


Back to Room ListRoom Version: 9