Commit Graph

63 Commits

Author SHA1 Message Date
Julius Michaelis
6a9beaf893 treewide: skip generating shell completions using $out/bin/… when cross compiling
This focuses on Rust packages, since the most commonly used argument
parser library (clap/structopt) makes the following pattern natural and
thus common:

  postInstall = ''
    installShellCompletion --cmd foo \
      --bash <($out/bin/foo completion bash) \
      …

This commit just guards those with

lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform)

splitting the string where unrelated actions are performed.
2024-08-04 10:50:48 +09:00
adisbladis
e0816431a2 treewide: Pass self when overriding Python
Otherwise references to the Python interpreter inside the set are wrong, as demonstrated by:
``` nix
with import <nixpkgs> { };
let
  python' = python3.override {
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the _non_ overriden requests.

And the same with `self`:
```
with import <nixpkgs> { };
let
  python' = python3.override {
    self = python';
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the overriden requests.

This can manifest itself as file collisions when constructing environments or as subtly incorrect dependency graphs.
2024-08-03 12:18:56 +12:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
Robert Schütz
6fd9741c85 snapcraft: don't override pydantic 2024-07-24 10:51:39 -07:00
Robert Schütz
b969054329 snapcraft: do catch conflicts 2024-07-24 09:34:06 -07:00
Robert Schütz
85687388d6 snapcraft: pin pydantic-yaml 2024-07-24 09:34:06 -07:00
Robert Schütz
451746aa12 snapcraft: 8.2.12 -> 8.3.1
Diff: https://github.com/canonical/snapcraft/compare/refs/tags/8.2.12...8.3.1

Changelog: https://github.com/canonical/snapcraft/releases/tag/8.3.0
           https://github.com/canonical/snapcraft/releases/tag/8.3.1
2024-07-24 09:34:05 -07:00
Ian M. Jones
09eb68f745
snippetexpander: 1.0.2 -> 1.0.3 2024-07-16 08:40:08 +01:00
Thiago Kenji Okada
819835ba3b
Merge pull request #327379 from thiagokokada/snes9x-bump
snes9x: 1.62.3-unstable-2024-04-22 -> 1.63
2024-07-15 18:07:51 +01:00
Weijia Wang
cd8b8e424d
Merge pull request #324868 from r-ryantm/auto-update/snipe-it
snipe-it: 7.0.6 -> 7.0.7
2024-07-15 16:34:30 +02:00
Thiago Kenji Okada
516ed1c72c snes9x: enableParallelBuilding = true 2024-07-15 15:05:04 +01:00
Thiago Kenji Okada
34b71eba0d snes9x: 1.62.3-unstable-2024-04-22 -> 1.63 2024-07-15 15:04:47 +01:00
Aleksana
3ea85ac338
Merge pull request #326827 from Aleksanaa/trivial-sha256-fix
treewide: sha256 -> hash attribute for gitlab.com,codeberg.org fetchers
2024-07-14 22:40:25 +08:00
Sigmanificient
512e8afdb9 treewide: remove unused occurence of stdenv (and other) arguments
format (will squash)
2024-07-14 04:32:56 +02:00
aleksana
cc0ca35c74 treewide: sha256 -> hash attribute for codeberg.org fetchers 2024-07-13 22:32:17 +08:00
Jon Seager
646456a7f3
snapcraft: run nixfmt-rfc-style 2024-07-10 16:43:58 +02:00
Jon Seager
57cf148d2b
snapcraft: 8.2.0 -> 8.2.12 2024-07-10 16:43:55 +02:00
R. Ryantm
f4c81f9134 snipe-it: 7.0.6 -> 7.0.7 2024-07-05 17:18:27 +00:00
Martin Weinelt
9b79a05ae1
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/flexcache/default.nix
- pkgs/development/python-modules/flexparser/default.nix
- pkgs/development/python-modules/odp-amsterdam/default.nix
- pkgs/development/python-modules/pint/default.nix
- pkgs/development/python-modules/uncertainties/default.nix
- pkgs/top-level/python-packages.nix
2024-07-01 01:07:21 +02:00
R. Ryantm
a7b235322e snipe-it: 7.0.4 -> 7.0.6 2024-06-29 22:36:37 +02:00
Martin Weinelt
2096642430
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/os-specific/windows/mingw-w64/default.nix
2024-06-23 19:09:00 +02:00
R. Ryantm
03f1d515cd snipe-it: 6.4.2 -> 7.0.4 2024-06-23 12:52:04 +02:00
github-actions[bot]
fb94da4e9e
Merge staging-next into staging 2024-06-21 18:01:30 +00:00
Linus Heckemann
e5adf0b547 maintainers: drop lheckemann 2024-06-21 15:54:54 +02:00
Martin Weinelt
f822b2ba5c Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/development/python-modules/langsmith/default.nix
- pkgs/development/python-modules/rich-pixels/default.nix
- pkgs/servers/teleport/generic.nix
2024-06-18 20:16:19 +02:00
Patryk Wychowaniec
6c30154ee4
snx-rs: 2.2.0 -> 2.2.3 2024-06-17 09:30:48 +02:00
Martin Weinelt
abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Paul Meyer
87934e2ea7 snicat: migrate to buildGoModule
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-06-07 22:15:40 +02:00
R. Ryantm
d7d7b6cc7b snipe-it: 6.4.1 -> 6.4.2 2024-06-04 00:25:14 +02:00
Robin Gloster
307035ad52
Merge pull request #314550 from lheckemann/snx-rs
snx-rs: init at 2.2.0
2024-06-03 22:55:36 +02:00
Robin Gloster
fd87dea36d
snx-rs: fix license 2024-06-03 19:41:28 +02:00
Sandro
93a5791490
Merge pull request #311358 from luftmensch-luftmensch/snipaste_2.9-Beta2 2024-06-02 19:10:55 +02:00
Sigmanificient
8b473d1a27 treewide: remove unused fetch* (and other) arguments 2024-05-30 13:36:48 +02:00
Linus Heckemann
ce20f2207c snx-rs: init at 2.2.0 2024-05-27 12:28:31 +02:00
luftmensch-luftmensch
9a36d96d60
snipaste: init at 2.9-Beta2 2024-05-17 18:59:01 +02:00
R. Ryantm
836a8bbeb9 snipe-it: 6.3.4 -> 6.4.1 2024-05-14 16:31:36 +00:00
R. Ryantm
d2b58349e3 snapcraft: 8.2.1 -> 8.2.5 2024-05-07 09:24:41 +00:00
Weijia Wang
23cbc3c2b3 Merge branch 'master' into staging-next 2024-04-30 13:24:52 +02:00
R. Ryantm
4c1ddbda19 snapcraft: 8.2.0 -> 8.2.1 2024-04-30 09:43:02 +00:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Weijia Wang
18d51c2c5d
Merge pull request #305642 from wegank/lib-version-fix
treewide: fix version in changelog
2024-04-26 10:55:51 +02:00
Anderson Torres
aebbcc12e4 snes9x: migrate to by-name 2024-04-25 07:45:39 -03:00
Weijia Wang
58b5b2748f treewide: fix version in changelog 2024-04-21 19:33:05 +02:00
Jon Seager
fe0775e297
snapcraft: init at 8.2.0 2024-04-18 19:06:42 +01:00
Yaya
96487480d4
snipe-it: 6.3.3 -> 6.3.4
https://github.com/snipe/snipe-it/releases/tag/v6.3.4
2024-04-15 21:18:02 +02:00
Weijia Wang
92323443a5
Merge pull request #300050 from ianmjones/snippetexpander-1.0.2
snippetexpander: 1.0.1 -> 1.0.2
2024-04-12 13:21:58 +02:00
Cole Mickens
2bc8d8f5e6 sn-pro: init at 1.1.0 2024-03-31 15:20:54 -07:00
Ian M. Jones
2a85869152
snippetexpander: 1.0.1 -> 1.0.2 2024-03-29 17:54:53 +00:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00