Commit graph

539914 commits

Author SHA1 Message Date
Martin Weinelt 0e4b63f713 Revert "nixos/systemd-boot: Avoid remote mypy executions"
This reverts commit ea0dcd0ae1.
2023-10-23 03:38:13 +02:00
Adam Joseph 0b2036cad0 cc-wrapper: fix -mtune= validation, add ARM, add fallbacks
Before this commit, cc-wrapper/default.nix was using
`isGccArchSupported` to validate `-mtune=` values.  This has two
problems:

- On x86, `-mtune=` can take the same values as `-march`, plus two
  additional values `generic` and `intel` which are not valid for
  `-march`.

- On ARM, `-mtune=` does not take the same values as `-march=`;
  instead it takes the same values as `-mcpu`.

This commit fixes these two problems by adding a new
`isGccTuneSupported` function.  For `isx86` this returns `true` for
the two special values and otherwise defers to `isGccArchSupported`.

This commit also adds support for `-mtune=` on Aarch64.

Unfortunately on Aarch64, Clang does not accept as wide a variety of
`-mtune=` values as Gcc does.  In particular, Clang does not tune
for big.LITTLE mixed-model chips like the very popular RK3399, which
is targeted using `-march=cortex-a72.cortex-a53` in gcc.

To address this problem, this commit also adds a function
`findBestTuneApproximation` which can be used to map
clang-unsupported tunings like `cortex-a72.cortex-a53` to
less-precise tunings like `cortex-a53`.

The work which led to this commit arose because we now have
packages, like `crosvm`, which use *both* `clang` *and* `gcc`.
Previously I had been using `overrideAttrs` to set
`NIX_CFLAGS_COMPILE` on a package-by-package basis based on which
compiler that package used.  Since we now have packages which use
*both* compilers, this strategy no longer works.

I briefly considered splitting `NIX_CFLAGS_COMPILE` into
`NIX_CFLAGS_COMPILE_GCC` and `NIX_CFLAGS_COMPILE_CLANG`, but since
`NIX_CFLAGS_COMPILE` is sort of a hack to begin with I figured that
adding the logic to `cc-wrapper` would be preferable.
2023-10-23 01:31:21 +00:00
Stig 0f9bb8236a
Merge pull request #258383 from anthonyroussel/exiftool
exiftool: 12.65 -> 12.68
2023-10-23 03:01:05 +02:00
Mario Rodas e42f00c96c
Merge pull request #260862 from noisersup/ferretdb-1.12.1
ferretdb: 1.11.0 -> 1.12.1
2023-10-22 19:46:10 -05:00
Weijia Wang b6dfb5223d
Merge pull request #261588 from wegank/geda-xorn
geda: drop xorn
2023-10-23 02:29:39 +02:00
Martin Weinelt 326976a696
Merge pull request #262811 from mweinelt/napari-npe2-fix
python310Packages.napari-npe2: build with hatchling
2023-10-23 02:26:19 +02:00
Mario Rodas 32d09494bc
Merge pull request #262667 from khaneliman/buildGoModule
treewide: go 121 redundant cleanup
2023-10-22 19:11:03 -05:00
Mario Rodas c09b858ab9
Merge pull request #262757 from marsam/update-luau
luau: 0.598 -> 0.600
2023-10-22 19:03:52 -05:00
Weijia Wang 840bfc404d
Merge pull request #262712 from oluceps/exodus-fetch
exodus: use fetchurl instead requireFile
2023-10-23 01:57:31 +02:00
Jade Lovelace 0504bc63e4
doc/stdenv: rewrite manual build procedure to be closer to an auto-build (#262137)
* doc/stdenv: rewrite manual build procedure to be closer to an auto-build

This is based on
<https://jade.fyi/blog/building-nix-derivations-manually/> plus some
more original research.

The previous version of this section did not work for your choice of
simple Haskell package, e.g. haskellPackages.hscolour, due to things
like `compileBuildDriverPhase` and other custom phases that it
does not address at all.

It seems more correct to use genericBuild in development to harmonize it
with what is actually done.

I feel a little bit like I am committing a sin by suggesting using the
experimental CLI in the manual (afaict I am the first to do this), but I
have given the old version of the command, and there are justifiable
reasons to do it:
* The noted limitations with env-vars are fixed. The one with the
  non-empty temp directory was one I ran into myself and oh boy was that
  not fun to debug.
* Additionally the outputs are set *before* sourcing `setup.sh`: there
  is an issue with nix-shell where the original version of `$out` winds
  up in `NIX_LDFLAGS` due to _addRpathPrefix, which means that resulting
  executables may not run properly.

It is sad that `nix develop` propagates a wrong value of `SHELL` to
builders, though. It is equally sad that `nix-shell` is essentially
abandoned upstream, with undocumented and not insignificant differences
from `nix develop`.

For the exact script differences:
17e6b85d05/src/nix-build/nix-build.cc (L516-L551)
db026103b1/src/nix/get-env.sh

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-10-23 01:53:23 +02:00
Fabián Heredia Montiel c70f2bbf26
Merge pull request #261784 from r-ryantm/auto-update/corectrl
corectrl: 1.3.5 -> 1.3.6
2023-10-22 17:41:35 -06:00
Weijia Wang 36217c82f3
Merge pull request #262464 from r-ryantm/auto-update/trunk-ng
trunk-ng: 0.17.8 -> 0.17.10
2023-10-23 01:40:49 +02:00
Weijia Wang e61d42971a
Merge pull request #262661 from r-ryantm/auto-update/vcluster
vcluster: 0.15.6 -> 0.16.4
2023-10-23 01:39:44 +02:00
Martin Weinelt 9561cb0115
Merge pull request #258907 from mweinelt/django-5.0a1
python311Packages.django_5: init at 5.0a1
2023-10-23 01:37:57 +02:00
Peter Hoeg 3d7a169afe WIP 2023-10-22 23:10:06 +00:00
Peter Hoeg 73096290ff evscript: unstable-2022-11-20 -> 0.1.0 2023-10-22 23:10:06 +00:00
Atemu c56ec205cc
Merge pull request #262710 from r-ryantm/auto-update/jc
jc: 1.23.4 -> 1.23.5
2023-10-23 01:08:25 +02:00
Weijia Wang d0b80a159a
Merge pull request #262778 from r-ryantm/auto-update/oxker
oxker: 0.3.2 -> 0.3.3
2023-10-23 01:07:09 +02:00
Atemu e0417d79ff
Merge pull request #262574 from Atemu/installer-no-powersave-governor
installer/nixos-generate-config: don't set powersave cpuFreqGovernor
2023-10-23 00:59:19 +02:00
Martin Weinelt 3244b1eaef
Merge pull request #262678 from plumelo/feat/esphome-proc-subset
esphome: remove ProcSubset from serviceConfig
2023-10-23 00:46:21 +02:00
Weijia Wang 8082879a82
Merge pull request #262754 from natsukium/qgrid/fix
python311Packages.qgrid: disable failing test
2023-10-23 00:43:28 +02:00
Weijia Wang a5427deda4
Merge pull request #262793 from bobvanderlinden/pr-darkman-mainprogram
darkman: add meta.mainProgram
2023-10-23 00:42:30 +02:00
Weijia Wang 3e88ccf003
Merge pull request #262761 from surfaceflinger/doggo-update
doggo: 0.5.5 -> 0.5.7 and migrate to by-name
2023-10-23 00:41:01 +02:00
0x4A6F a990f74cf8
treewide: sha256 -> hash (#262801)
* tumpa: sha256 -> hash

* qubes-core-vchan-xen: sha256 -> hash

* qdmr: sha256 -> hash

* w_scan2: sha256 -> hash

* libcdada: sha256 -> hash

* eidolon: sha256 -> hash

* freenukum: sha256 -> hash

* promscale: sha256 -> hash

* tacacsplus: sha256 -> hash

* blflash: sha256 -> hash

* silicon: sha256 -> hash

* nethoscope: sha256 -> hash

* pmacct: sha256 -> hash

* tayga: sha256 -> hash

* alejandra: sha256 -> hash

* igrep: sha256 -> hash

* cwm: sha256 -> hash

* dasel: sha256 -> hash
2023-10-23 00:38:33 +02:00
Martin Weinelt db4b707870
Merge pull request #262821 from mweinelt/tlds-2023101900
python311Packages.tlds: 2023080900 -> 2023101900
2023-10-23 00:35:26 +02:00
Martin Weinelt a85ff7543b
python311Packages.tlds: 2023080900 -> 2023101900
2023080900...2023101900
2023-10-23 00:33:56 +02:00
Weijia Wang 66796ff6a6
Merge pull request #262663 from reckenrode/diebahn-fix
diebahn: fix build on Darwin
2023-10-23 00:27:55 +02:00
h7x4 0b6077fb7b
darwin.CoreSymbolication: refactor, unstable-2018-04-08 -> unstable-2018-06-17 (#262363)
* darwin.CoreSymbolication: refactor

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>

* darwin.CoreSymbolication: unstable-2018-04-08 -> unstable-2018-06-17

---------

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-10-23 00:18:16 +02:00
Martin Weinelt bd40664563
Merge pull request #262771 from DeeUnderscore/misc/duperemove-version
duperemove: set version string
2023-10-23 00:06:17 +02:00
Martin Weinelt 0c0da8680a
Merge pull request #262270 from helsinki-systems/upd/nftables
nftables: 1.0.8 -> 1.0.9
2023-10-23 00:04:12 +02:00
Stig 4f4312a71c
Merge pull request #262283 from helsinki-systems/upd/rt
rt: 5.0.3 -> 5.0.5
2023-10-23 00:01:58 +02:00
Weijia Wang 0c707cc99a
Merge pull request #262612 from wegank/utm-bump
utm: 4.4.3 -> 4.4.4
2023-10-23 00:01:34 +02:00
Martin Weinelt 4ef208f907
Merge pull request #262808 from i077/zotero-insecure
zotero: mark as insecure (CVE-2023-5217)
2023-10-22 23:54:49 +02:00
Martin Weinelt 52f0141dfb
python310Packages.napari-npe2: build with hatchling 2023-10-22 23:52:46 +02:00
Artturi 16e3288b56
Merge pull request #256581 from azahi/grc-absolute-store-paths 2023-10-23 00:42:22 +03:00
Imran Hossain 9438baa49d
zotero: mark as insecure (CVE-2023-5217)
Zotero 6 is based on Firefox 60 and has not patched this vulnerability.
The next version is based on Firefox 102 (ESR) and has patched this, but
is is still in beta.

See also NixOS/nixpkgs#258048.
2023-10-22 17:35:40 -04:00
Dee Anzorge d437fcbefd duperemove: set version string 2023-10-22 23:22:58 +02:00
Mario Rodas a6207181cf
Merge pull request #259647 from bcdarwin/simpleitk-improvements
simpleitk: improvements and enable SimpleElastix cmake module
2023-10-22 15:59:09 -05:00
Martin Weinelt 07ed0f8b09
Merge pull request #258676 from dotlambda/blinkpy-0.22.0
python310Packages.blinkpy: use pyproject
2023-10-22 22:58:56 +02:00
Robert Schütz 2cf2e55e8e python310Packages.blinkpy: use pyproject 2023-10-22 13:46:46 -07:00
Mario Rodas 40f43be981
Merge pull request #260799 from aaronjheng/temporal-cli
temporal-cli: tctl-next: 0.9.0 -> 0.10.6
2023-10-22 15:38:08 -05:00
Mario Rodas 3f2fa63c56
Merge pull request #262756 from marsam/update-rclone
rclone: 1.64.1 -> 1.64.2
2023-10-22 15:33:39 -05:00
Anthony Roussel 0f9ecf1da3
python311Packages.mat2: disable test_all_parametred test
`test_all_parametred` test is too sensitive.
It frequently fails when exiftool is updated and adds support for new metadata.

Also migrated `unittestCheckHook` to `pytestCheckHook` to be able to disable
the test (not possible easily with unittest). We can do that safely
since pytest also supports unittest test suites.
2023-10-22 22:31:57 +02:00
7c6f434c 818c8a217d
Merge pull request #262737 from trofi/btrfs-progs-update
btrfs-progs: 6.5.2 -> 6.5.3
2023-10-22 20:24:16 +00:00
Mynacol e8fde3fd7d rss-bridge: add maintainer 2023-10-22 22:19:46 +02:00
Mynacol c2c5d261ab rss-bridge: Move substitutions into patch file
As requested in https://github.com/NixOS/nixpkgs/pull/257641#pullrequestreview-1678477898
2023-10-22 22:19:46 +02:00
Mynacol e9ea06e57f rss-bridge: 2022-06-14 -> 2023-09-24
The source code substitutions have to be adopted to continue working.
The PATH_CACHE const has to use `define` instead, as const forbids using
functions.
2023-10-22 22:19:46 +02:00
Anthony Roussel e3318309ab
exiftool: 12.65 -> 12.68
https://github.com/exiftool/exiftool/compare/12.65...12.68
2023-10-22 22:06:03 +02:00
Raymond Douglas e80f82aa1e direwolf: add portaudio dependency and buildInput 2023-10-22 16:57:54 -03:00
Rob a37d70e902 weechatScripts.weechat-matrix: Fix compatibility with matrix-nio 0.21
weechat-matrix script crashes at load time due to changes in matrix-nio.
Patching 'matrix/config.py' from this commit fixes it:
feae9fda26
2023-10-22 19:49:01 +00:00