Commit Graph

1004 Commits

Author SHA1 Message Date
Aliaksandr
03bb7d8195 all-packages: do not export lib functions from pkgs 2025-10-30 22:38:49 +02:00
Artturin
99d63d01cb tests.top-level.platformEquality: Fix use of alias 2025-10-28 20:09:45 +02:00
Connor Baker
3c216c9ed2 tests.cuda: fixup
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-10-22 13:14:50 -07: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
Wolfgang Walther
90e7159c55 treewide: remove unused rec
Auto-fix by nixf-diagnose.
2025-10-05 10:49:12 +02:00
K900
f8d669f413 Merge remote-tracking branch 'origin/master' into staging-next 2025-10-04 21:10:21 +03:00
NAHO
c8d4dabc43 pkgs: 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 \
      . \
      pkgs \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2025-10-04 19:02:37 +02: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
nixpkgs-ci[bot]
6dd046bf75 Merge master into staging-next 2025-10-03 18:05:39 +00:00
Philip Taron
885fd34de3 fetchFromGitHub: use fetchgit when the rootDir option is set (#446709) 2025-10-03 17:43:22 +00:00
Michael Daniels
2b9641e5df tests.fetchFromGitHub: init
Copied from pkgs/build-support/fetchgit/tests.nix, see there for attribution.
2025-10-02 21:47:29 -04:00
nixpkgs-ci[bot]
b873fed1e5 Merge master into staging-next 2025-10-01 00:18:39 +00:00
Connor Baker
d9dbfc0a6c tests.stdenv: use system from stdenv.{build,host}Platform
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-09-30 15:23:18 -07:00
jopejoe1
67af2b0ab3 tests.haskell.setBuildTarget: set to mit
this is part of the nixpkgs code so set it to mit
2025-09-29 20:51:58 +02:00
nixpkgs-ci[bot]
226863ce1c Merge f77e9a221d into haskell-updates 2025-09-15 15:36:24 +00:00
Emily
2dac87bbde llvmPackages_17: drop 2025-09-14 19:03:24 +01:00
Emily
a892ce396d llvmPackages_16: drop 2025-09-14 19:03:24 +01:00
Emily
77acbe1f9c llvmPackages_15: drop 2025-09-14 19:03:24 +01:00
Emily
f470ea24b6 llvmPackages_14: drop 2025-09-14 19:03:24 +01:00
Emily
791fe23b63 llvmPackages_13: drop 2025-09-14 19:03:24 +01:00
Emily
9b8a66c3a4 llvmPackages_12: drop 2025-09-14 19:03:24 +01:00
nixpkgs-ci[bot]
7f15939d62 Merge 4199f186ec into haskell-updates 2025-09-14 00:21:51 +00:00
Philip Taron
88b9a7d3b6 tests.cross.sanity: fix eval
`qt5` is not long for the world.
2025-09-13 06:11:14 -07:00
sternenseemann
fca19d72bc tests.haskell.shellFor: use srcOnly to extract pkgs
This ensures patches and Hackage revisions are applied to the base
tarball which may be necessary in order for the packages to build in the
shell environment.
2025-09-12 21:00:26 +02:00
sternenseemann
7caff6e6e4 ghcWithPackages: expose targetPrefix; tests.haskell.ghcWithPackages: verify -fllvm works with useLLVM (#441471) 2025-09-11 12:49:20 +00:00
sternenseemann
49ac23d75d tests.haskell.ghcWithPackages.regression-224542: make cross aware
Obviously, we can't run GHCi of a cross-compiler, but respecting targetPrefix
will give a more helpful error message:

    <command line>: not built for interactive use
2025-09-09 15:46:35 +02:00
sternenseemann
d1bc568af2 tests.haskell.ghcWithPackages: verify -fllvm works with useLLVM
Note that this test also succeeds in pkgsCross though using a stdenv
with cc is crucial, since its setup hooks are required for -lgmp to work.

Maybe this is something we should look at for GHC again, maybe we can
add extra entries to the package db, so it passes the necessary -L flags
by itself?
2025-09-09 15:46:35 +02:00
K900
3d4257c912 Merge remote-tracking branch 'origin/master' into staging-next 2025-09-08 22:24:07 +03:00
Emily
755e2cbf31 tests.cc-wrapper.supported: update list of aliases
This is pretty horrible and we should figure out a better way of
doing this…
2025-09-08 04:37:51 +01:00
K900
fa2f6adfe6 Merge remote-tracking branch 'origin/master' into staging-next 2025-09-03 21:17:21 +03:00
Wolfgang Walther
d0c0b875f7 treewide: remove __recurseIntoDerivationForReleaseJobs
This attribute was supposed to be set on derivations, to make the
release tools recurse into them. The remaining uses were all on regular
attrsets, though, so this is safe to remove.
2025-08-31 20:54:49 +02:00
Robert Scott
d3afbb6da9 cc-wrapper: add glibcxxassertions hardening flag (#414987) 2025-08-29 20:20:39 +01:00
K900
92c54de171 Merge remote-tracking branch 'origin/staging-next' into staging 2025-08-28 12:55:20 +03:00
Philip Taron
43d66715e5 fetchNextcloudApp: add sha512 (#435930) 2025-08-27 12:14:53 -07:00
staticdev
e27f6eba7c fetchNextcloudApp: add pkgs.test 2025-08-27 18:46:12 +02:00
Robert Scott
3eec07ec59 cc-wrapper: add glibcxxassertions hardening flag
no platforms "unsupported" because we don't have a nice
mechanism for determining a platform's c++ lib and the flag
should be harmlessly ignored by a other c++ libs
2025-08-24 11:56:04 +01:00
Vladimír Čunát
7f3ba72e24 Merge branch 'master' into staging 2025-08-23 11:39:22 +02:00
Emily
1bcb29135a cudaPackages_{12_0,12_1,12_2,12_3,12_4,12_5}: drop 2025-08-22 16:18:23 +01:00
Emily
c32c0a555e cudaPackages_11: drop 2025-08-22 15:59:05 +01:00
nixpkgs-ci[bot]
7099ae2a7e Merge staging-next into staging 2025-08-21 12:43:40 +00:00
Sandro
1a01d22c98 tests.stdenv-inputs: deprecate phases (#435074) 2025-08-21 13:49:18 +02:00
Wolfgang Walther
36e792a8d3 tests: fix some tests (#430864) 2025-08-21 09:21:26 +00:00
jopejoe1
3326fcd696 tests.buildFHSEnv: limit to x86_64-linux
downloads x86_64-linux only binary
2025-08-20 21:17:38 +02:00
jopejoe1
e6821ba6f2 tests.auto-patchelf-hook: limit to x86_64-linux
downloads x86_64-linux only binary
2025-08-20 21:17:38 +02:00
nixpkgs-ci[bot]
14cf80866d Merge staging-next into staging 2025-08-20 00:16:55 +00:00
Felix Buehler
ee450568ea tests.haskell.shellFor: deprecate phases 2025-08-19 21:39:23 +02:00
Felix Buehler
1c8b972306 tests.stdenv-inputs: deprecate phases 2025-08-19 21:20:04 +02:00
Paul Meyer
cf4e81e3bc buildGoModule: add buildTestBinaries option, add tests (#427334) 2025-08-12 10:14:14 +02:00