Commit Graph

313 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Sam Connelly
7c66fb1ec5 migrate maintainership from luc65r to clevor
They said they haven't used Nix in a while and is not interested in
maintaining cemu-ti (presumably other packages too), so I asked to take
over his role. I removed luc65r from the meta.maintainers attribtes, and
adopted the packages I wanted to adopt. I chose to adopt the TI graphing
calculator-related packages as I am part of Cemetech.
2024-11-17 14:30:20 -05:00
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
Noa Aarts
cb11b48c1b
lemurs: fix build error caused by https://github.com/rust-lang/rust/issues/115010 2024-11-05 13:52:32 +01:00
Rick van Schijndel
ae9f64a37b
gtkgreet: fix cross-compilation (#351481) 2024-10-27 19:39:44 +01:00
Alexander V. Nikolaev
5b5e9be6ab
gtkgreet: fix cross-compilation
Signed-off-by: Alexander V. Nikolaev <avn@avnik.info>
2024-10-27 11:28:05 +02:00
Ali Rizvi
fc6f12b978
greetd.tuigreet: add man page 2024-10-17 12:20:19 -04: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
Sebastián Mancilla
2b43ce9d7f
emptty: 0.12.1 -> 0.13.0 (#337468) 2024-09-07 21:02:55 -04:00
K900
363df5ad86 nixos/sddm: add layer-shell-qt to the wrapper when kwin is used
Otherwise the greeter just dies immediately.
2024-08-27 20:50:08 +03:00
R. Ryantm
ad56f28d30 emptty: 0.12.1 -> 0.13.0 2024-08-26 13:01:57 +00:00
Philip Taron
9c61e10776
ly: remove with statements 2024-08-18 06:31:11 -07:00
Peder Bergebakken Sundt
e471916645
treewide: passthru nixos test (#334491) 2024-08-18 00:29:43 +02:00
Vonfry
45b9a98849
ly: 0.6.0 -> 1.0.2 2024-08-03 19:56:22 +08:00
Artturin
60e9cffe2c Merge branch 'master' into staging-next 2024-07-22 22:53:31 +03:00
Bobby Rong
3e9b9159cb
Merge pull request #327144 from bobby285271/upd/cinnamon-xapps-by-name
Move various packages out of cinnamon scope
2024-07-22 21:33:16 +08:00
R. Ryantm
ac81de7720 lightdm-slick-greeter: 2.0.5 -> 2.0.6 2024-07-22 13:38:24 +08:00
Bobby Rong
508637b0e3
xapp: Move from cinnamon scope to top-level
* The timeshift changes are used to make by-name check happy.
* More by-name changes in the next commit.
2024-07-22 01:02:16 +08:00
Artturin
a516ea8c99 Merge branch 'staging-next' into staging 2024-07-16 19:07:48 +03:00
aleksana
4ba3b6339c greetd.dlm: remove
I found this package while cleaning cargoSha256. Its cargoSha256 was
actually wrong and included git dependencies, but it has never been
corrected. I tried fixing it in
https://github.com/NixOS/nixpkgs/pull/324316 and requested a maintainer
review, but the maintainer didn't respond to me for the next two weeks.
Upstream was last updated four years ago. Considering we now have much
better login managers for greetd, we should no longer need this package.
2024-07-15 15:16:22 +08:00
aleksana
1862813d11 treewide: convert cargoSha256 to cargoHash
This is done with the following bash script:

```
#!/usr/bin/env bash
process_line() {
    local filename=${1%:}
    if [[ $4 =~ \"(.*)\"\; ]]; then
      local sha256="${BASH_REMATCH[1]}"
    fi
    [[ -z $sha256 ]] && return 0
    local hash=$(nix hash to-sri --type sha256 $sha256)
    echo "Processing: $filename"
    echo "  $sha256 => $hash"
    sed -i "s|cargoSha256 = \"$sha256\"|cargoHash = \"$hash\"|"
$filename
}

# split output by line
grep -r 'cargoSha256 = ' . | while IFS= read -r line; do
    # split them further by space
    read -r -a parts <<< "$line"
    process_line "${parts[@]}"
done

```
2024-07-03 21:54:10 +08:00
aleksana
a9709c299b treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
Jan Tojnar
87a6bb325c yelp-xsl: Move from gnome scope to top-level 2024-07-01 08:26:49 +02:00
éclairevoyant
71e728d3b8
maintainers: remove ivar 2024-06-29 03:09:10 -04:00
Weijia Wang
97e8ca179a
Merge pull request #318486 from r-ryantm/auto-update/greetd.greetd
greetd.greetd: 0.10.0 -> 0.10.3
2024-06-28 01:48:31 +02:00
R. Ryantm
d8b8a7b623 lightdm-slick-greeter: 2.0.4 -> 2.0.5 2024-06-19 14:16:10 +00:00
Alyssa Ross
3df6bb2c85
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01: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
github-actions[bot]
5aea0ef461
Merge master into staging-next 2024-06-09 18:00:55 +00:00
Bobby Rong
28546b23fe
Merge pull request #318211 from bobby285271/upd/slick-greeter
lightdm-slick-greeter: 2.0.3 -> 2.0.4
2024-06-09 20:20:52 +08:00
R. Ryantm
0b9da0f1cc greetd.greetd: 0.10.0 -> 0.10.3 2024-06-09 08:50:52 +00:00
Bobby Rong
eae1bdc34d
lightdm-slick-greeter: 2.0.3 -> 2.0.4
https://github.com/linuxmint/slick-greeter/compare/2.0.3...2.0.4
2024-06-08 10:26:12 +08:00
github-actions[bot]
f22f5c2c0c
Merge master into staging-next 2024-06-08 00:02:16 +00:00
R. Ryantm
3e9ed0cf2a emptty: 0.12.0 -> 0.12.1 2024-06-07 14:26:04 +00:00
github-actions[bot]
2e595eb2e6
Merge master into staging-next 2024-06-03 12:01:29 +00:00
Gaetan Lepage
61ed9b4594 greetd.tuigreet: 0.9.0 -> 0.9.1
Changelog: https://github.com/apognu/tuigreet/releases/tag/0.9.1
2024-06-02 18:39:11 +02:00
github-actions[bot]
39c82b1a85
Merge master into staging-next 2024-06-02 00:02:38 +00:00
Weijia Wang
6bed436a65
Merge pull request #307623 from r-ryantm/auto-update/greetd.wlgreet
greetd.wlgreet: 0.4.1 -> 0.5.0
2024-06-01 23:36:30 +02:00
Alyssa Ross
b08a915532 treewide: drop workarounds for cargo --frozen
Since 4816a73bb5 ("rustPlatform: --frozen -> --offline"), these are
no longer necessary!
2024-05-19 11:15:55 +02:00
Craft
ca37dbddab
greetd: 0.9.0 -> 0.10.0
Updating greetd version from 0.9.0 to 0.10.0.
2024-05-17 13:28:15 -04:00
Adam Stephens
b3b44121d5
greetd.tuigreet: 0.8.0 -> 0.9.0
https://github.com/apognu/tuigreet/releases/tag/0.9.0

Diff: https://github.com/apognu/tuigreet/compare/0.8.0...0.9.0
2024-05-06 12:44:12 -04:00
R. Ryantm
cd16cff47e greetd.wlgreet: 0.4.1 -> 0.5.0 2024-04-29 04:12:30 +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
Jared Baur
148f60fb50
greetd.wlgreet: add required libraries to runpath
Wlgreet dynamically loads a few libraries on startup. Without them, the
program will crash immediately on startup.
2024-04-21 13:32:26 -07:00
aleksana
9dddc116d5 treewide: replace wrapGAppsHook with wrapGAppsHook4 for gtk4 apps 2024-04-06 01:33:38 +08: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
Nick Cao
f3197abfd3
Merge pull request #292068 from r-ryantm/auto-update/emptty
emptty: 0.11.0 -> 0.12.0
2024-03-03 20:42:36 -05:00
K900
2614e40893 sddm: add Wayland to the wrapper if enabled 2024-02-28 18:49:33 +03:00
K900
7b74d9a4ac sddm: 0.20.0-unstable -> 0.21.0 2024-02-28 18:49:33 +03:00
K900
59aa3af15d sddm: separate wrapping from building 2024-02-28 18:49:12 +03:00