Commit Graph

95 Commits

Author SHA1 Message Date
Jon Seager
3bb242fba6
snapcraft: disable failing test related to craft-parts 2.1.2
This is a red-herring, and I suspect due to a unit test that's
too close to the underlying implementation. I've tested building
a couple of snaps with the new version of craft-parts (including)
ones which use the `python` plugin, and things seem to work
fine.
2024-10-07 17:49:43 +01:00
Jon Seager
83be384908
snapcraft: 8.3.3 -> 8.4.1 2024-10-04 11:39:00 +01:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
28306a729a snipe-it: 7.0.11 -> 7.0.12 2024-09-23 14:13:09 +02:00
Aleksana
360425ea16
snyk: move to by-name and modernize derivation (#343726) 2024-09-22 23:22:56 +08:00
Mutsuha Asada
6a8ee1c9f9
snyk: move to by-name 2024-09-22 22:53:26 +09:00
Aleksana
33e82aab99
sng: 1.1.0 -> 1.1.1 (#342809) 2024-09-22 19:00:45 +08:00
Anderson Torres
a4b3d54e40 sng: 1.1.0 -> 1.1.1 2024-09-18 13:13:32 -03:00
Anderson Torres
5a1faea675 sng: refactor
- nixfmt-rfc-style
- finalAttrs
- strictDeps
- no nested with
2024-09-18 11:01:42 -03:00
Anderson Torres
6dd26b15ef sng: migrate to by-name 2024-09-18 11:01:42 -03:00
R. Ryantm
5a823a3597 sn-pro: 1.1.0 -> 1.2.0 2024-09-17 20:14:39 +00:00
R. Ryantm
90aee059a2 sn0int: 0.26.0 -> 0.26.1 2024-09-15 15:51:16 +00:00
Aleksana
dcf70734ba
snips-sh: init at 0.4.0 (#341494) 2024-09-15 10:37:14 +08:00
Jermeiah S
62d918d66f
snips-sh: init at 0.4.0 2024-09-14 14:25:44 -04:00
R. Ryantm
7a533b24be snapcraft: 8.3.2 -> 8.3.3 2024-09-14 03:36:12 +00:00
Paul Meyer
7d1032ea47 snpguest: 0.7.0 -> 0.7.1
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-09-12 11:08:13 +02:00
Paul Meyer
f482820efd snphost: 0.4.0 -> 0.5.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-09-10 15:12:22 +02:00
Paul Meyer
76b5c3b2b5 snpguest: 0.6.0 -> 0.7.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-09-10 15:11:32 +02:00
Weijia Wang
0ddd1d7cc4
snipe-it: 7.0.7 -> 7.0.11 (#330025) 2024-09-09 23:26:08 +02:00
Artturin
cc70915bef
snipaste: 2.9-Beta2 -> 2.9.2-Beta (#339855) 2024-09-09 19:28:20 +03:00
Paul Meyer
3f7520c028
snicat: 0.0.1 -> 0.0.1-unstable-2024-09-05 (#339818) 2024-09-09 09:11:56 +02:00
R. Ryantm
e8fcc43266 sniffglue: 0.16.0 -> 0.16.1 2024-09-09 02:34:43 +00:00
Paul Meyer
81fc1c283d snicat: 0.0.1 -> 0.0.1-unstable-2024-09-05
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-09-08 13:37:40 +02:00
luftmensch-luftmensch
db9c231bd5
snipaste: 2.9-Beta2 -> 2.9.2-Beta 2024-09-05 19:12:39 +02:00
Sandro Jäckel
ca355f14c8
treewide: replace all pytest-cov patching outside of pythonPackages with pytest-cov-stub 2024-08-27 20:47:13 +02:00
R. Ryantm
02e6cbc6ca snipe-it: 7.0.7 -> 7.0.11 2024-08-22 05:26:19 +00:00
Paul Meyer
f910a99dc2
Merge pull request #334594 from katexochen/snpguest/init
snpguest: init at 0.6.0
2024-08-16 16:32:09 +02:00
Paul Meyer
c586f01e11 snpguest: init at 0.6.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-16 10:49:15 +02:00
Paul Meyer
197ec588c9 snphost: init at 0.4.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-16 10:48:11 +02:00
sugar
93ff6d1bb9 snes9x: add sugar700 to maintainer list 2024-08-10 14:31:31 +02:00
sugar
92702bef0b snes9x: fix EGL loading in Wayland 2024-08-10 14:31:26 +02:00
R. Ryantm
405945d6f2 snapcraft: 8.3.1 -> 8.3.2 2024-08-07 17:27:39 +00:00
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