!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

212 Members
67 Servers

Load older messages


SenderMessageTime
22 Oct 2022
@sternenseemann:systemli.orgsterni When using autoconf it'll just be interpreted as a vendor and not do anything useful: 19:56:23
@hexa:lossy.networkhexawell, not sure what the point of having them in nix is 😄19:56:26
@sternenseemann:systemli.orgsterni *

When using autoconf it'll just be interpreted as a vendor and not do anything useful:

./result/config.sub x86_64-v2-linux
x86_64-v2-linux-gnu
19:56:30
@hexa:lossy.networkhexasaw the change and was wondering why we didn't support it in nixpkgs19:56:59
@sternenseemann:systemli.orgsterniI guess it saves you from having to create tags for these manually, but seems like a bad idea having malformed tuples in Nix proper19:59:58
@sternenseemann:systemli.orgsterniautoconf wants you to use feature macros: https://www.gnu.org/software/autoconf-archive/ax_check_x86_features.html20:00:11
@sternenseemann:systemli.orgsterni LLVM seems to rely on -march= for determining this (even though they have a “sub arch type” concept used for armv6 vs. armv7 for example, it is not used for this) 20:02:21
@sternenseemann:systemli.orgsterni * LLVM seems to rely on -march= for setting microarchitecture levels (even though they have a “sub arch type” concept used for armv6 vs. armv7 for example, it is not used for this) 20:02:31
@trofi:matrix.org@trofi:matrix.orggcc also uses -march= for it: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=324bec558e95584e8c1997575ae9d75978af59f120:23:13
@sternenseemann:systemli.orgsternihttps://github.com/NixOS/nix/pull/4551#issuecomment-128790591220:27:41
31 Oct 2022
@tinybronca:sibnsk.netunderpantsgnome changed their display name from underpantsgnome! to underpantsgnome.20:20:18
1 Nov 2022
@emilytrau:matrix.orgemilytrau (she/her) joined the room.21:44:42
6 Nov 2022
@artturin:matrix.orgArtturin why is there no overrideScope' in makeScopeWithSplicing 19:50:05
@artturin:matrix.orgArtturinis it simply not necessary?19:50:09
@artturin:matrix.orgArtturin John Ericson: 19:50:12
@artturin:matrix.orgArtturin
nix-repl> pkgsCross.aarch64-multiplatform.xorg.bdftopcf.buildInputs
[ «derivation /nix/store/8kia89y56gb7k9067bnvsj9hykv5khn6-xorgproto-aarch64-unknown-linux-gnu-2021.5.drv» ]

nix-repl> pkgsCross.aarch64-multiplatform.xorg.fontadobe100dpi.nativeBuildInputs
[ «derivation /nix/store/qpmjw2z72k8v9gr3g666sdprijdkd7ph-aarch64-unknown-linux-gnu-pkg-config-wrapper-0.29.2.drv» «derivation /nix/store/v693fcdcm0l079gab0ydj1nbbzwwsh69-bdftopcf-1.1.drv» «derivation /nix/store/zx83mdy38aakawdgggarviy1iq4c966c-font-util-1.3.1.drv» «derivation /nix/store/d8iivbm0nplwbs21lkkap6i7gwvphkd7-mkfontscale-1.2.1.drv» ]

nix-repl> pkgsCross.aarch64-multiplatform.xorg.bdftopcf
«derivation /nix/store/i96yh02dmswiqiadrlig548a2zplx7z5-bdftopcf-aarch64-unknown-linux-gnu-1.1.drv»

nix-repl> pkgsCross.aarch64-multiplatform.buildPackages.xorg.bdftopcf
«derivation /nix/store/v693fcdcm0l079gab0ydj1nbbzwwsh69-bdftopcf-1.1.drv»
diff --git a/pkgs/servers/x11/xorg/default.nix b/pkgs/servers/x11/xorg/default.nix
index 2449ca6c245..de50dbe1c7b 100644
--- a/pkgs/servers/x11/xorg/default.nix
+++ b/pkgs/servers/x11/xorg/default.nix
@@ -1,7 +1,33 @@
 # THIS IS A GENERATED FILE.  DO NOT EDIT!
-{ lib, newScope, pixman }:
-
-lib.makeScope newScope (self: with self; {
+{ lib, pixman
+, splicePackages
+, newScope
+, pkgsBuildBuild
+, pkgsBuildHost
+, pkgsBuildTarget
+, pkgsHostHost
+, pkgsTargetTarget
+}:
+
+let
+  otherSplices = {
+    selfBuildBuild = pkgsBuildBuild.xorg;
+    selfBuildHost = pkgsBuildHost.xorg;
+    selfBuildTarget = pkgsBuildTarget.xorg;
+    selfHostHost = pkgsHostHost.xorg;
+    selfTargetTarget = pkgsTargetTarget.xorg or { };
+  };
+  keep = _self: { };
+  extra = _spliced0: { };
+
+in
+lib.makeScopeWithSplicing
+  splicePackages
+  newScope
+  otherSplices
+  keep
+  extra
+  (self: with self; let inherit (self) callPackage; in{
 
   inherit pixman;
 
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 9456fdfe648..c55f6f77fa5 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -24552,7 +24552,7 @@ with pkgs;
   # so as not to have the newly bound xorg items already in scope,  which would
   # have created a cycle.
   xorg = recurseIntoAttrs ((lib.callPackageWith __splicedPackages ../servers/x11/xorg {
-  }).overrideScope' (lib.callPackageWith __splicedPackages ../servers/x11/xorg/overrides.nix {
+  }).overrideScope (lib.callPackageWith __splicedPackages ../servers/x11/xorg/overrides.nix {
     inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon Cocoa;
     inherit (darwin.apple_sdk.libs) Xplugin;
     inherit (buildPackages.darwin) bootstrap_cmds;
19:50:48
@artturin:matrix.orgArtturin

in overrides.nix

  bdftopcf = super.bdftopcf.overrideAttrs (attrs: {
    buildInputs = attrs.buildInputs ++ [ self.xorgproto ];
  });
19:51:08
@artturin:matrix.orgArtturin

and then in default.nix

  fontadobe100dpi = callPackage ({ stdenv, pkg-config, fetchurl, fontutil, bdftopcf, mkfontscale }: stdenv.mkDerivation {
19:51:22
@artturin:matrix.orgArtturinappears to be working19:59:51
@artturin:matrix.orgArtturin because nix-eval-jobs --flake ".#legacyPackages.x86_64-linux.xorg" 2>/dev/null --impure | jq '.drvPath | select(. != null)' | xargs nix build --keep-going builds succesfully 20:52:30
@artturin:matrix.orgArtturin * because nix-eval-jobs --flake ".#legacyPackages.x86_64-linux.xorg" 2>/dev/null --impure | jq '.drvPath | select(. != null)' | xargs nix build -v --keep-going --no-link builds succesfully 20:55:29
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/19991222:06:20
16 Nov 2022
@omlet:matrix.orgomlet joined the room.20:34:06
30 Nov 2022
@trofi:matrix.org@trofi:matrix.org

gnumake: 4.3 -> 4.4: merge to staging outright or do a separate hydra run? WDYT? It needed a glibc fix, but other numerous regressions seen in 4.3.devel were fixed/postponed for 4.5.

https://github.com/NixOS/nixpkgs/pull/198755

08:01:45
@trofi:matrix.org@trofi:matrix.org *

gnumake: 4.3 -> 4.4: merge to staging outright or do a separate hydra run? WDYT? It needed a glibc fix, but other numerous regressions seen in 4.3.devel were fixed (or postponed for 4.5).

https://github.com/NixOS/nixpkgs/pull/198755

11:50:59
@sandro:supersandro.deSandro 🐧Can we try building up to python3 or something something and decide that based on that?13:31:00
@trofi:matrix.org@trofi:matrix.org I built my whole system successfully. Vast majority of packages should just work. 13:40:20
@sandro:supersandro.deSandro 🐧 then we could be adventurous and just give it a shot. If it goes south we can always do a job set. Just let Vladimír Čunát know. 14:14:19
@qyliss:fairydust.spaceAlyssa Rossthat sounds sensible to me14:14:50
@artturin:matrix.orgArtturinTo staging 👍14:14:52

Show newer messages


Back to Room ListRoom Version: 9