Commit Graph

5275 Commits

Author SHA1 Message Date
Philip Taron
59fe6e0c5f lib.filesystem: remove Nix 2.14 shim (#450408) 2025-10-13 15:51:27 +00:00
OPNA2608
37492033eb lib.systems.parse: Default glibc ppc64 to ELFv1 ABI 2025-10-11 21:00:33 +02:00
OPNA2608
8448c28919 lib.systems.examples.ppc64-elfv1: Drop manual fix of rust.rustcTarget
ABI is now simplified automatically.
2025-10-11 20:57:29 +02:00
OPNA2608
8b06bf875c lib.systems: Simplify ABI on POWER for rust.rustcTarget
Rust does not know how to parse "gnuabielfv{1,2}", so simplify those down to just "gnu".
This obsoletes the manual rustcTarget fix in the ppc64-elfv1 example.
2025-10-11 20:48:52 +02:00
nixpkgs-ci[bot]
ec3cafaa31 Merge staging-next into staging 2025-10-10 00:17:07 +00:00
nixpkgs-ci[bot]
7e9e7583ef Merge master into staging-next 2025-10-10 00:16:30 +00:00
Randy Eckenrode
2ab175889a lib.systems.darwinMinVersion: 11.3 -> 14.0 2025-10-09 18:23:26 -04:00
Randy Eckenrode
cf45eef8ec lib.systems.darwinSdkVersion: 11.3 -> 14.4 2025-10-09 18:23:26 -04:00
Philip Taron
1677539966 lib.lists: undeprecate crossLists (#393573) 2025-10-09 22:19:57 +00:00
Luna Nova
d1de5d4748 lib.lists: undeprecate crossLists
mapCartesianProduct's output's order relies on the iteration order of the input attrset
encouraging picking non-meaningful names or arbitrary prefixed underscores if your usecase
requires a specific order.

See this thread for examples of clunkiness required to achieve a specific ordering.
https://discourse.nixos.org/t/lib-crosslists-is-deprecated-use-lib-cartesianproductofsets-instead/41824/10
2025-10-09 14:58:51 -07:00
Philip Taron
4f652cfaf4 lib.filesystem: remove Nix 2.14 shim
It was added in fcaa2b1097. Lix is based off of 2.18, and the minimum version for Nixpkgs has long since incorporated this builtin.
2025-10-09 12:23:38 -07:00
nixpkgs-ci[bot]
b64b1a6e98 Merge master into staging-next 2025-10-09 18:06:05 +00:00
Philip Taron
b364a40a6b lib.filesystem.listFilesRecursive: only flatten once (#449744) 2025-10-09 17:19:48 +00:00
nixpkgs-ci[bot]
0d76c40190 Merge master into staging-next 2025-10-09 12:07:04 +00:00
Silvan Mosberger
1ea51e1f1a lib.teams: Remove .githubTeams in favor of singular .github
No team was using the feature of having multiple GitHub teams, and this
would make it tricky to try to sync maintainer teams with GitHub teams.
2025-10-08 21:44:39 +02:00
Eman Resu
ca59048a42 lib.filesystem.listFilesRecursive: only flatten once 2025-10-07 21:12:46 -04:00
nixpkgs-ci[bot]
bd43b58711 Merge master into staging-next 2025-10-08 00:16:11 +00:00
dish
92aa5dc190 lib: remove lib.options.mkPackageOptionMD
Removed this, as it was deprecated in 24.11 and was intended to be
removed in 25.05. Better late than never.
2025-10-07 15:53:30 -04:00
K900
fb73ccd10d Merge remote-tracking branch 'origin/staging-next' into staging 2025-10-07 08:19:36 +03:00
Johannes Kirschbauer
bb9da33c62 lib/*: fix docs to use "returns" instead of "return" (#442388) 2025-10-06 08:09:54 +00:00
Wolfgang Walther
5e1f5b623b Merge branch 'staging-next' into staging 2025-10-05 11:40:56 +02:00
K900
e93c560b79 Merge remote-tracking branch 'origin/master' into staging-next 2025-10-05 12:17:08 +03:00
Wolfgang Walther
91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Alexander Bantyev
66e2080e23 intel-oneapi.{base,hpc}: init at 2025.2.1.44
Introduces the two freeware Intel's OneApi toolkits.

The Intel® oneAPI Base Toolkit (Base Kit) is a core set of tools and
libraries for developing high-performance, data-centric applications
across diverse architectures. It features an industry-leading C++
compiler that implements SYCL*, an evolution of C++ for heterogeneous
computing.

Intel® oneAPI HPC Toolkit delivers what developers need to build,
analyze, optimize, and scale HPC (high-performance computing)
applications with the latest techniques in vectorization,
multithreading, multi-node parallelization, and memory optimization.

They are packaged from official "offline" installers, which require
some wrangling to get working due to their reliance on FHS. The
resulting libraries and tools seem to work fine without FHS.
2025-10-04 20:24:10 +04:00
dramforever
736ac3f69f Merge remote-tracking branch 'nixos/staging-next' into HEAD 2025-10-04 22:46:07 +08:00
nixpkgs-ci[bot]
45e7932c78 Merge master into staging-next 2025-10-04 12:05:54 +00:00
jopejoe1
851e8a2f10 treewide: remove stringy licenses (#439982) 2025-10-04 11:36:34 +00:00
jopejoe1
d13457b073 lib/sources: add Pijul+Darcs to cleanSource (#446955) 2025-10-04 11:31:27 +00:00
nixpkgs-ci[bot]
7d9f8fb0c1 Merge staging-next into staging 2025-10-02 15:59:43 +00:00
nixpkgs-ci[bot]
7f2d963f4f Merge master into staging-next 2025-10-02 15:58:50 +00:00
Robert Hensing
6a5f6f1a4e lib: init strings.join (#446278) 2025-10-02 15:34:34 +00:00
nixpkgs-ci[bot]
d6ac0273cd Merge staging-next into staging 2025-10-01 00:19:21 +00:00
K900
4999ae577c Merge remote-tracking branch 'origin/master' into staging-next 2025-09-30 21:47:55 +03:00
Philip Taron
44998896c6 lib: remove optional builtins prefixes from prelude functions (#447402) 2025-09-30 16:28:04 +00:00
John Ericson
941a243895 cygwin: add as a cross-compilation target, and get hello to build (#444470) 2025-09-30 14:16:25 +00:00
NAHO
e8f998c3bc lib: add builtins prefixes for prelude functions to improve clarity 2025-09-30 09:38:12 +02:00
NAHO
6177c4ad72 lib: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd --type file . lib --exec-batch sed --in-place --regexp-extended "
      s/\<builtins\.($(
        printf '%s\n' "${builtins[@]}" |
          paste --delimiter '|' --serial -
      ))\>/\1/g
    "

    nix fmt
2025-09-30 09:02:59 +02:00
nixpkgs-ci[bot]
4c0880e710 Merge staging-next into staging 2025-09-29 12:08:02 +00:00
nixpkgs-ci[bot]
3c90917fd5 Merge master into staging-next 2025-09-29 12:07:15 +00:00
Alyssa Ross
f0cc6e6348 lib.customisation: inherit unsafeGetAttrsPos in let-in (#446761) 2025-09-29 07:54:31 +00:00
·𐑑𐑴𐑕𐑑𐑩𐑤
c2b0328fa1 lib/sources: add Darcs to cleanSource 2025-09-29 01:24:24 +07:00
·𐑑𐑴𐑕𐑑𐑩𐑤
e6e1581d39 lib/sources: add Pijul to cleanSource 2025-09-29 01:24:24 +07:00
jopejoe1
3e8895f981 lib.licenses: add licenses used in nixpkgs 2025-09-28 18:47:20 +02:00
Yueh-Shun Li
4fa63ffcca lib.customisation: inherit unsafeGetAttrsPos in let-in 2025-09-28 03:05:49 +08:00
David McFarland
39fd8e4adf cygwin: init as a target toolchain
The old cygwin support used -pc-windows-cygnus as the config.  This is
supported by LLVM, but not by GNU. This will change it to -pc-cygwin,
which is more generally supported.

Because the kernel is now 'cygwin' rather than 'windows', isWindows will
return false. There are lots of different reasons isWindows is used in
nixpkgs, but in my experience they often have to do with posix
compatibility and don't apply to cygwin.

Co-authored-by: Brian McKenna <brian@brianmckenna.org>
2025-09-27 13:29:44 -03:00
Johannes Kirschbauer
b37ac6a920 lib: init strings.join 2025-09-27 09:18:37 +02:00
nixpkgs-ci[bot]
b9fe052b5c Merge staging-next into staging 2025-09-25 18:06:34 +00:00
nixpkgs-ci[bot]
e11e848c96 Merge master into staging-next 2025-09-25 18:05:56 +00:00
Johannes Kirschbauer
2b2df96038 lib/types: submodule fix description with freeformType (#443134) 2025-09-25 14:57:10 +00:00
jopejoe1
bdc3cdda42 font-bitstream-{100dpi,75dpi,type1}: refactor, move to pkgs/by-name and rename from xorg.fontbitstream*, xorg.fontbitstreamspeedo: drop (#442323) 2025-09-25 13:05:09 +02:00