-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
weylus: unstable-2022-06-07 -> 0.11.4-unstable-2025-02-24; modernize derivation; move to by-name #391603
base: master
Are you sure you want to change the base?
Conversation
15b653f
to
655cca7
Compare
nixos/modules/programs/weylus.nix
Outdated
package = lib.mkOption { | ||
type = package; | ||
default = pkgs.callPackage ../../../pkgs/by-name/we/weylus/package.nix { }; | ||
defaultText = lib.literalExpression "pkgs.callPackage ../../../pkgs/by-name/we/weylus/package.nix {}"; | ||
description = '' | ||
The weylus package to use. | ||
''; | ||
}; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this change made?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It gave some errors otherwise because of the change to by-name/package.nix
Tho I'm not sure if that's the best way to do it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. It was probably something transient that got resolved when I rebased.
lib, | ||
stdenv, | ||
rustPlatform, | ||
fetchFromGitHub, | ||
makeWrapper, | ||
autoconf, | ||
cmake, | ||
dbus, | ||
fetchFromGitHub, | ||
ffmpeg, | ||
x264, | ||
libva, | ||
git, | ||
gst_all_1, | ||
xorg, | ||
lib, | ||
libdrm, | ||
pkg-config, | ||
libtool, | ||
libva, | ||
libxkbcommon, | ||
makeWrapper, | ||
nix-update-script, | ||
pango, | ||
pipewire, | ||
cmake, | ||
git, | ||
autoconf, | ||
libtool, | ||
pkg-config, | ||
rustPlatform, | ||
typescript, | ||
ApplicationServices, | ||
Carbon, | ||
Cocoa, | ||
VideoToolbox, | ||
libxkbcommon, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get all this is now alphabetically ordered, but lib, stdenv are usually at the top.
license = with lib.licenses; [ agpl3Only ]; | ||
mainProgram = "weylus"; | ||
maintainers = with lib.maintainers; [ lom ]; | ||
platforms = lib.platforms.linux; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did upstream drop support for darwin?
If no, I think we ought to keep broken =
and all the lib.optionals
stuff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If darwin doesn't work, is it better to have platforms=unix and broken=darwin instead of platforms linux? especially since there have been no more releases for like 4 years..
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.