File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
pkgs/by-name/co/cosmic-randr Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 66 just ,
77 pkg-config ,
88 wayland ,
9+ nix-update-script ,
910} :
1011
1112rustPlatform . buildRustPackage rec {
@@ -26,6 +27,7 @@ rustPlatform.buildRustPackage rec {
2627 just
2728 pkg-config
2829 ] ;
30+
2931 buildInputs = [ wayland ] ;
3032
3133 dontUseJustBuild = true ;
@@ -39,6 +41,15 @@ rustPlatform.buildRustPackage rec {
3941 "target/${ stdenv . hostPlatform . rust . cargoShortTarget } /release/cosmic-randr"
4042 ] ;
4143
44+ passthru . updateScript = nix-update-script {
45+ extraArgs = [
46+ "--version"
47+ "unstable"
48+ "--version-regex"
49+ "epoch-(.*)"
50+ ] ;
51+ } ;
52+
4253 meta = with lib ; {
4354 homepage = "https://github.com/pop-os/cosmic-randr" ;
4455 description = "Library and utility for displaying and configuring Wayland outputs" ;
You can’t perform that action at this time.
0 commit comments