Unverified Commit bace9f32 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

pkgsUutils: init

parent 8567d2be
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -2752,13 +2752,15 @@ with pkgs;
    llvmPackages = llvmPackages_13;
  };
  coreutils = callPackage ../tools/misc/coreutils { };
  coreutils =
    if stdenv.hostPlatform.useUutilsCoreutils or false then uutils-coreutils else gnu-coreutils;
  gnu-coreutils = callPackage ../tools/misc/coreutils { };
  # The coreutils above are built with dependencies from
  # bootstrapping. We cannot override it here, because that pulls in
  # openssl from the previous stage as well.
  coreutils-full = callPackage ../tools/misc/coreutils { minimal = false; };
  coreutils-prefixed = coreutils.override {
  coreutils-full = gnu-coreutils.override { minimal = false; };
  coreutils-prefixed = gnu-coreutils.override {
    withPrefix = true;
    singleBinary = false;
  };
@@ -3025,7 +3027,10 @@ with pkgs;
    inherit (windows) libgnurx;
  };
  findutils = callPackage ../tools/misc/findutils { };
  findutils = callPackage ../tools/misc/findutils {
    coreutils =
      if stdenv.hostPlatform.useUutilsCoreutils or false then uutils-coreutils-minimal else gnu-coreutils;
  };
  bsd-fingerd = bsd-finger.override {
    buildProduct = "daemon";
+15 −0
Original line number Diff line number Diff line
@@ -285,6 +285,21 @@ let
      else
        throw "Musl libc only supports 64-bit Linux systems.";

    pkgsUutils =
      if stdenv.hostPlatform.isLinux && stdenv.buildPlatform.is64bit then
        nixpkgsFun {
          overlays = [
            (self': super': {
              pkgsUutils = super';
            })
          ] ++ overlays;
          ${if stdenv.hostPlatform == stdenv.buildPlatform then "localSystem" else "crossSystem"} = {
            config = lib.systems.parse.tripleFromSystem (makeMuslParsedPlatform stdenv.hostPlatform.parsed);
          };
        }
      else
        throw "uutils only supports 64-bit Linux systems.";

    # All packages built for i686 Linux.
    # Used by wine, firefox with debugging version of Flash, ...
    pkgsi686Linux =