Commit Graph

78 Commits

Author SHA1 Message Date
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
wxt
dd02b08a8f
guestfs-tools: avoid building on hydra 2024-11-06 19:08:35 +08:00
wxt
09509e06cd
guestfs-tools: nixfmt 2024-11-06 19:04:13 +08:00
wxt
7d73149a1d
guestfs-tools: move to by-name 2024-11-06 19:04:00 +08:00
Martin Weinelt
519cea4260
guile-sdl: mark broken on darwin
and disable sdltest on darwin, since it makes hydra builders run into
timeouts.
2024-11-05 15:17:58 +01:00
Sandro
3287385b5e
gui-for-singbox: init at 1.8.9 (#351914) 2024-11-04 17:57:51 +01:00
Liam Hupfer
e3c99d6c50 guix: fix build user takeover patch
The preceding fix only applies one of two patches, which breaks builds:

   error: getting attributes of path `/gnu/store/<item>': No such file
   or directory

The Debian package maintainer, Vagrant Cascadian, is a frequent Guix
committer, so the Debian package is a suitable upstream patch source
when Guix commits require backporting to the current release tarball.

Fixes: 633a3b8f19 ("guix: build user takeover patch")
2024-11-03 18:14:20 -06:00
dr56ekgbb
3ed37b77a5 gui-for-singbox: init at 1.8.9 2024-11-03 02:28:47 +08:00
Aleksana
ed1100c54f
gui-for-clash: init at 1.8.9 (#351924) 2024-10-30 17:08:41 +08:00
aucub
1477a974e2 gui-for-clash: init at 1.8.9 2024-10-29 12:46:34 +00:00
Christina Sørensen
633a3b8f19
guix: build user takeover patch
guix has recently announced a security vulnerability that allows
local users to gain priveleges of build users, and further manipulate
output of any build (including with setguid).

This commit fixes the issue by backporting the remediation commits pushed to
guix main to 1.4.0 as a patch.

Users will still have to reboot and follow other remediation steps as
described in the guix blogpost.

Refs: https://guix.gnu.org/en/blog/2024/build-user-takeover-vulnerability/
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-10-27 13:57:29 +01:00
Christina Sørensen
42fee36c0b
guix: format with rfc-style
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-10-27 13:45:02 +01:00
Sandro
e826e3d0df
guile-ssh: 0.16.3 -> 0.17.0-unstable-2024-10-15 (#348857) 2024-10-25 21:57:10 +02:00
Aleksana
1f593c92f2
guile-goblins: 0.13.0 -> 0.14.0 (#348495) 2024-10-24 16:29:20 +08:00
John Titor
2bbb021372
gummy: 0.6.0 -> 0.6.1 2024-10-22 17:11:37 +05:30
John Titor
fc5b713c20
gummy: add update script, use cmakeFeature 2024-10-22 17:11:37 +05:30
John Titor
424872f4a1
gummy: move to by-name 2024-10-22 17:11:36 +05:30
Ramses
4457a14adf
unicode-character-database: 15.1.0 -> 16.0.0, +gucharmap (#344755) 2024-10-20 18:54:32 +02:00
Brian Leung
64ef94693a
guile-ssh: 0.16.3 -> 0.17.0-unstable-2024-10-15 2024-10-19 10:36:36 -07:00
R. Ryantm
c0678ef0ab guile-goblins: 0.13.0 -> 0.14.0 2024-10-14 09:48:27 +00:00
h7x4
8f55b011e0
treewide: add meta.changelog (#346488)
* guix: add meta.changelog

* zile: add meta.changelog

* zoom: add meta.changelog

* zotify: add meta.changelog

* zpaqfranz: add meta.changelog

* zunit: add meta.changelog

* zxwing-cpp: add meta.changelog

* zxpy: add meta.changelog

* zydis: add meta.changelog

* zziplib: add meta.changelog

* j: add meta.changelog

* kyua: add meta.changelog

* json2ts: add meta.changelog

* igir: add meta.changelog

* ios-webkit-debug-proxy: add meta.changelog

* gpaste: add meta.changelog

* polkit_gnome: add meta.changelog

* papers: add meta.changelog

* libmsgraph: add meta.changelog

* quadrapassel: add meta.changelog

* gnome-nibbles: add meta.changelog

* decibels: add meta.changelog

* libgedit-amtk: add meta.changelog

* simple-scan: add meta.changelog

* gnome-klotski: add meta.changelog

* gnome-sound-recorder: add meta.changelog

* gnome-remote-desktop: add meta.changelog

* gnome-robots: add meta.changelog

* gnome-shell-extensions: add meta.changelog

* gnome-panel: add meta.changelog

* gnome-session: add meta.changelog

* gnome-keyring: add meta.changelog

* devhelp: add meta.changelog

* libgnome-keyring: add meta.changelog

* ghex: add meta.changelog

* gnome-connections: add meta.changelog

* lightsoff: add meta.changelog

* gnome-flashback: add meta.changelog

* livi: add meta.changelog

* mutter: add meta.changelog

* hitori: add meta.changelog

* gnome-initial-setup: add meta.changelog

* gnome-bluetooth: add meta.changelog

* gnome-shell: add meta.changelog

* gnome-sudoku: add meta.changelog

* ideamaker: add meta.changelog

* i2p: add meta.changelog

* lms: add meta.changelog

* adwaita-icon-theme: add meta.changelog

* gnome-applets: add meta.changelog

* flac123: add meta.changelog

* flaca: add meta.changelog

* flameshot: add meta.changelog

* flaresolverr: add meta.changelog

* a52dec: add meta.changelog

* hexbinhex: add meta.changelog

* dwl: add meta.changelog

* msolve: add meta.changelog

* jcli: add meta.changelog

* nmap: add meta.changelog

* nmapsi4: add meta.changelog

* labctl: add meta.changelog

* _1oom: add meta.changelog

* libipuz: add meta.changelog

* metacity: add meta.changelog

* sushi: add meta.changelog

* rygel: add meta.changelog

* zenity: add meta.changelog

* crosswords: add meta.changelog

* gnome-mahjongg: add meta.changelog

* alacarte: add meta.changelog

* loupe: add meta.changelog

* cheese: add meta.changelog

* atomix: add meta.changelog

* swell-foop: add meta.changelog

* alfis: add meta.changelog

* aperture: add meta.changelog

* atomic-swap: add meta.changelog

* besu: add meta.changelog

* bisq: add meta.changelog

* bitcoin-abc: add meta.changelog

* bitcoin-knots: add meta.changelog

* bitcd: add meta.changelog

* btcdeb: add meta.changelog

* btcpayserver: add meta.changelog

* 86box: add meta.changelog

* darling: add meta.changelog

* dosbox: add meta.changelog

* firebird-emu: add meta.changelog

* maiko: add meta.changelog

* accerciser: add meta.changelog

* adwaita-icon-theme-legacy: add meta.changelog

* dconf-editor: add meta.changelog

* eog: add meta.changelog

* evolution-data-server: add meta.changelog

* file-roller: add meta.changelog

* four-in-a-row: add meta.changelog

* gdm: add meta.changelog

* geary: add meta.changelog

* gitg: add meta.changelog

* gnome2048: add meta.changelog

* gnome-backgrounds: add meta.changelog

* gnome-text-editor: add meta.changelog

* gnome-tour: add meta.changelog

* gnome-user-share: add meta.changelog

* gxml: add meta.changelog

* tali: add meta.changelog

* totem: add meta.changelog

* mobile-broadband-provider-info: add meta.changelog

* avr: add meta.changelog

* brev-cli: add meta.changelog

* juce: add meta.changelog

* loc: add meta.changelog

* resholve: add meta.changelog

* rpiboot: add meta.changelog

* gerbera: add meta.changelog

* kdocker: add meta.changelog

* pmenu: add meta.changelog

* advancecomp: add meta.changelog

* adriconf: add meta.changelog

* interception-tools: add meta.changelog

* nabi: add meta.changelog

* gorilla-cli: add meta.changelog

* heygpt: add meta.changelog

* 6tunnel: add meta.changelog

* aria2: add meta.changelog

* logmein-hamachi: add meta.changelog

* maphosts: add meta.changelog

* qcal: add meta.changelog

* adreaper: add meta.changelog

* aflplusplus: add meta.changelog

* aide: add meta.changelog

* cameradar: add meta.changelog

* wpscan: add meta.changelog

* aha: add meta.changelog

* xcat: add meta.changelog
2024-10-04 22:35:12 +03:00
Anderson Torres
f886811352 treewide: migrate guile-modules to by-name 2024-10-04 13:10:15 -03:00
Anderson Torres
e89b77ef6c guile-cairo: migrate to by-name 2024-10-04 13:10:14 -03:00
Anderson Torres
43c282915c guile-xcb: migrate to by-name 2024-10-04 13:10:14 -03:00
Anderson Torres
962d90bf45 guile-hall: migrate to by-name 2024-10-04 13:10:10 -03:00
Dee Anzorge
8039b13d00 gucharmap: 15.1.5 -> 16.0.1
Diff: https://gitlab.gnome.org/GNOME/gucharmap/-/compare/15.1.5...16.0.1
2024-09-27 00:41:10 +02:00
R. Ryantm
56b372d586 gungnir: 1.0.9 -> 1.1.0 2024-09-25 06:28:45 +00: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
nicoo
2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00
superherointj
7c91799631
Merge pull request #335856 from museoa/guile-sqlite3
guile-sqlite3: adopt and rewrite
2024-08-23 17:12:41 -03:00
Peder Bergebakken Sundt
fcdecc256a
treewide: change ${pname} to string literal (#336172)
* adwaita-icon-theme: change `${pname}` to string literal

* alp: change `${pname}` to string literal

* alsa-oss: change `${pname}` to string literal

* alsa-plugins: change `${pname}` to string literal

* alsa-ucm-conf: change `${pname}` to string literal

* alsa-utils: change `${pname}` to string literal

* anyrun: change `${pname}` to string literal

* assemblyscript: change `${pname}` to string literal

* audiobookshelf: change `${pname}` to string literal

* baobab: change `${pname}` to string literal

* braa: change `${pname}` to string literal

* brill: change `${pname}` to string literal

* centrifugo: change `${pname}` to string literal

* cheese: change `${pname}` to string literal

* cljfmt: change `${pname}` to string literal

* coppwr: change `${pname}` to string literal

* cosmic-edit: change `${pname}` to string literal

* cosmic-files: change `${pname}` to string literal

* cosmic-store: change `${pname}` to string literal

* cosmic-term: change `${pname}` to string literal

* crate2nix: change `${pname}` to string literal

* cups-kyocera-3500-4500: change `${pname}` to string literal

* dbqn: change `${pname}` to string literal

* dconf-editor: change `${pname}` to string literal

* devhelp: change `${pname}` to string literal

* dmarc-report-converter: change `${pname}` to string literal

* engage: change `${pname}` to string literal

* eog: change `${pname}` to string literal

* evolution-data-server-gtk4: change `${pname}` to string literal

* find-billy: change `${pname}` to string literal

* firefly-iii: change `${pname}` to string literal

* fuchsia-cursor: change `${pname}` to string literal

* geary: change `${pname}` to string literal

* ghex: change `${pname}` to string literal

* gitg: change `${pname}` to string literal

* glasskube: change `${pname}` to string literal

* gnome.gnome-autoar: change `${pname}` to string literal

* gnome.gnome-calculator: change `${pname}` to string literal

* gnome.gnome-calendar: change `${pname}` to string literal

* gnome.gnome-common: change `${pname}` to string literal

* gnome.gnome-dictionary: change `${pname}` to string literal

* gnome.gnome-disk-utility: change `${pname}` to string literal

* gnome.gnome-font-viewer: change `${pname}` to string literal

* gnome.gnome-keyring: change `${pname}` to string literal

* gnome.gnome-screenshot: change `${pname}` to string literal

* gnome.gnome-system-monitor: change `${pname}` to string literal

* gnome.seahorse: change `${pname}` to string literal

* gnome.simple-scan: change `${pname}` to string literal

* gnome.sushi: change `${pname}` to string literal

* gnome.totem: change `${pname}` to string literal

* gnome.yelp: change `${pname}` to string literal

* gnome.yelp-xsl: change `${pname}` to string literal

* gnucap-full: change `${pname}` to string literal

* goredo: change `${pname}` to string literal

* guile-semver: change `${pname}` to string literal

* halo: change `${pname}` to string literal

* intiface-central: change `${pname}` to string literal

* intune-portal: change `${pname}` to string literal

* iscc: change `${pname}` to string literal

* jetbrains-toolbox: change `${pname}` to string literal

* jnr-posix: change `${pname}` to string literal

* keymapp: change `${pname}` to string literal

* libation: change `${pname}` to string literal

* libeduvpn-common: change `${pname}` to string literal

* libmamba: change `${pname}` to string literal

* littlefs-fuse: change `${pname}` to string literal

* logseq: change `${pname}` to string literal

* lxgw-wenkai-tc: change `${pname}` to string literal

* microsoft-identity-broker: change `${pname}` to string literal

* minetest-mapserver: change `${pname}` to string literal

* msalsdk-dbusclient: change `${pname}` to string literal

* neverest: change `${pname}` to string literal

* nf-test: change `${pname}` to string literal

* numbat: change `${pname}` to string literal

* pdf2odt: change `${pname}` to string literal

* plemoljp: change `${pname}` to string literal

* plemoljp-hs: change `${pname}` to string literal

* plemoljp-nf: change `${pname}` to string literal

* pocket-updater-utility: change `${pname}` to string literal

* proto: change `${pname}` to string literal

* pw3270: change `${pname}` to string literal

* ratchet: change `${pname}` to string literal

* read-it-later: change `${pname}` to string literal

* redmine: change `${pname}` to string literal

* regina: change `${pname}` to string literal

* regripper: change `${pname}` to string literal

* revolt-desktop: change `${pname}` to string literal

* rs: change `${pname}` to string literal

* signaturepdf: change `${pname}` to string literal

* sonarlint-ls: change `${pname}` to string literal

* srgn: change `${pname}` to string literal

* stackit-cli: change `${pname}` to string literal

* substudy: change `${pname}` to string literal

* swayosd: change `${pname}` to string literal

* synthesia: change `${pname}` to string literal

* tarlz: change `${pname}` to string literal

* termcap: change `${pname}` to string literal

* tinycompress: change `${pname}` to string literal

* tracexec: change `${pname}` to string literal

* treefmt2: change `${pname}` to string literal

* udev-gothic: change `${pname}` to string literal

* udev-gothic-nf: change `${pname}` to string literal

* vvvvvv: change `${pname}` to string literal

* yggdrasil: change `${pname}` to string literal

* zsync: change `${pname}` to string literal
2024-08-20 15:56:55 -07:00
Anderson Torres
fa36e4bd1a guile-sqlite3: adopt and rewrite
- nixfmt-rfc-style
- finalAttrs
- no nested with
2024-08-19 13:34:55 -03:00
Anderson Torres
7e1ddd1a4a guile-sqlite3: migrate to by-name 2024-08-19 13:34:55 -03:00
Peder Bergebakken Sundt
e471916645
treewide: passthru nixos test (#334491) 2024-08-18 00:29:43 +02:00
Jan Tojnar
e68358b38b gucharmap: Move from gnome scope to top-level 2024-07-01 08:26:48 +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
Anderson Torres
1388b97ed0 guile-sdl: remove vyp
See https://github.com/NixOS/nixpkgs/issues/290642.
2024-06-04 08:19:10 -03:00
Anderson Torres
51ebfa8f78 guile-sdl: unbreak in Darwin 2024-06-04 08:19:10 -03:00
Anderson Torres
7acf24e093 guile-sdl: refactor and fixup
- finalAttrs
- Call getDev for all SDL-related build inputs
2024-06-04 08:19:10 -03:00
Anderson Torres
a5ca567c5e guile-sdl: migrate to by-name 2024-06-04 08:19:09 -03:00
R. Ryantm
1b5b36e14e gungnir: 1.0.8 -> 1.0.9 2024-05-30 14:30:22 +00:00
CherryKitten
a80a708afd
gungnir: init at 1.0.8 2024-05-15 11:50:03 +02:00
Weijia Wang
dc5c226ec4
Merge pull request #308788 from r-ryantm/auto-update/guile-lzlib
guile-lzlib: 0.0.2 -> 0.3.0
2024-05-03 20:17:56 +02:00
R. Ryantm
6b66d61963 guile-lzlib: 0.0.2 -> 0.3.0 2024-05-03 12:22:49 +00:00
R. Ryantm
3d6ee473d8 guile-goblins: 0.12.0 -> 0.13.0 2024-04-29 09:10:45 +00:00
Weijia Wang
b081623684 guix: add patch for CVE-2024-27297 2024-04-10 07:30:37 +02:00
Janik
d3c09ae008
Merge pull request #275493 from chitochi/guile-chickadee
guile-chickadee: init at 0.10.0
2024-01-30 17:23:00 +01:00
Chito
6f0525e4ab guile-chickadee: init at 0.10.0 2024-01-30 13:43:25 +01:00
Chito
f7b2c772a7 guile-goblins: 0.11.0 -> 0.12.0 2024-01-27 17:17:17 +01:00