nixpkgs: update; couple cross-compiling patches have merged upstream
``` • Updated input 'nixpkgs-next-unpatched': 'github:nixos/nixpkgs/0852bff4370133e3a62b0cc7d14d193b928a7c59' (2024-02-29) → 'github:nixos/nixpkgs/e894afb6c101fea0771b47d7827bef022e89ee1e' (2024-02-29) • Updated input 'nixpkgs-unpatched': 'github:nixos/nixpkgs/9f21aa90cb8c078969543956d88c19696b646743' (2024-02-29) → 'github:nixos/nixpkgs/d29fabd630000579f744d04639d625828ba412bf' (2024-02-29) ```
This commit is contained in:
12
flake.lock
generated
12
flake.lock
generated
@@ -19,11 +19,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-next-unpatched": {
|
"nixpkgs-next-unpatched": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709186479,
|
"lastModified": 1709229663,
|
||||||
"narHash": "sha256-QkbBumCaOuv4wn1t6DArgTD1alKJT+p2akmeAwrN+YM=",
|
"narHash": "sha256-xg7Yq3QMxfjWyFsp5DMOHVTW9ZiAHNisJrh2zP6FrFw=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "0852bff4370133e3a62b0cc7d14d193b928a7c59",
|
"rev": "e894afb6c101fea0771b47d7827bef022e89ee1e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -51,11 +51,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-unpatched": {
|
"nixpkgs-unpatched": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709187136,
|
"lastModified": 1709229748,
|
||||||
"narHash": "sha256-MmxlX3yTFZEtNJ4LBvpMTfLroZoCJwTzjarVqeqD04I=",
|
"narHash": "sha256-d9OgkZsz5hnuwlQjJIJA8ie5rlBXTAKjN3yIuyfzGBU=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9f21aa90cb8c078969543956d88c19696b646743",
|
"rev": "d29fabd630000579f744d04639d625828ba412bf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@@ -32,7 +32,7 @@ let
|
|||||||
pkgs.sway-unwrapped.override {
|
pkgs.sway-unwrapped.override {
|
||||||
# wlroots seems to launch Xwayland itself, and i can't easily just do that myself externally.
|
# wlroots seems to launch Xwayland itself, and i can't easily just do that myself externally.
|
||||||
# so in order for the Xwayland it launches to be sandboxed, i need to patch the sandboxed version in here.
|
# so in order for the Xwayland it launches to be sandboxed, i need to patch the sandboxed version in here.
|
||||||
wlroots_0_16 = pkgs.wlroots_0_16.override {
|
wlroots = pkgs.wlroots.override {
|
||||||
xwayland = config.sane.programs.xwayland.package;
|
xwayland = config.sane.programs.xwayland.package;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -31,11 +31,6 @@ in [
|
|||||||
# merged.master = "<date>";
|
# merged.master = "<date>";
|
||||||
# etc, where "date" is like "20240228181608"
|
# etc, where "date" is like "20240228181608"
|
||||||
# and can be found with `nix-repl > :lf . > lastModifiedDate`
|
# and can be found with `nix-repl > :lf . > lastModifiedDate`
|
||||||
(fetchpatch' {
|
|
||||||
prUrl = "https://github.com/NixOS/nixpkgs/pull/291806";
|
|
||||||
title = "swaynotificationcenter: support cross compilation";
|
|
||||||
hash = "sha256-Od5591zj8OW2WncI4eY9i5i8cFsAM7NQtHyYB9KSpLg=";
|
|
||||||
})
|
|
||||||
(fetchpatch' {
|
(fetchpatch' {
|
||||||
prUrl = "https://github.com/NixOS/nixpkgs/pull/288518";
|
prUrl = "https://github.com/NixOS/nixpkgs/pull/288518";
|
||||||
saneCommit = "20c9492d303be7cbad560e3d83bc47ab4b1e93f7";
|
saneCommit = "20c9492d303be7cbad560e3d83bc47ab4b1e93f7";
|
||||||
@@ -50,11 +45,6 @@ in [
|
|||||||
hash = "sha256-jUtMmT4d+/6hZgrpXhfBcToAfdecl7xtEj1d/ofxaIM=";
|
hash = "sha256-jUtMmT4d+/6hZgrpXhfBcToAfdecl7xtEj1d/ofxaIM=";
|
||||||
merged.staging = "20240228181608";
|
merged.staging = "20240228181608";
|
||||||
})
|
})
|
||||||
(fetchpatch' {
|
|
||||||
prUrl = "https://github.com/NixOS/nixpkgs/pull/291947";
|
|
||||||
title = "libshumate: support cross compilation";
|
|
||||||
hash = "sha256-l1EXoggqgcmAlKdq501x2hBjqaGJrG4hO/xSnSWDt3U=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# (fetchpatch' {
|
# (fetchpatch' {
|
||||||
# title = "nixos/slskd: allow omitting username from yaml config";
|
# title = "nixos/slskd: allow omitting username from yaml config";
|
||||||
|
@@ -2062,6 +2062,14 @@ in with final; {
|
|||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
|
# 2024/02/29: upstreaming is unblocked
|
||||||
|
wlroots = prev.wlroots.overrideAttrs (upstream: {
|
||||||
|
nativeBuildInputs = (upstream.nativeBuildInputs or []) ++ [
|
||||||
|
# incorrectly specified as `buildInputs` in nixpkgs.
|
||||||
|
hwdata
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
# wrapFirefox = prev.wrapFirefox.override {
|
# wrapFirefox = prev.wrapFirefox.override {
|
||||||
# buildPackages = buildPackages // {
|
# buildPackages = buildPackages // {
|
||||||
# # fixes "extract-binary-wrapper-cmd: line 2: strings: command not found"
|
# # fixes "extract-binary-wrapper-cmd: line 2: strings: command not found"
|
||||||
|
@@ -69,7 +69,7 @@
|
|||||||
# ];
|
# ];
|
||||||
|
|
||||||
sway-unwrapped = super.sway-unwrapped.override {
|
sway-unwrapped = super.sway-unwrapped.override {
|
||||||
wlroots_0_16 = wlroots_0_16.overrideAttrs (upstream: {
|
wlroots = wlroots.overrideAttrs (upstream: {
|
||||||
# 2023/09/08: fix so clicking a notification can activate the corresponding window.
|
# 2023/09/08: fix so clicking a notification can activate the corresponding window.
|
||||||
# - test: run dino, receive a message while tabbed away, click the desktop notification.
|
# - test: run dino, receive a message while tabbed away, click the desktop notification.
|
||||||
# - if sway activates the dino window (i.e. colors the workspace and tab), then all good
|
# - if sway activates the dino window (i.e. colors the workspace and tab), then all good
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
# - i.e. my experience with dino is the same using mako as with SwayNC
|
# - i.e. my experience with dino is the same using mako as with SwayNC
|
||||||
postPatch = (upstream.postPatch or "") + ''
|
postPatch = (upstream.postPatch or "") + ''
|
||||||
substituteInPlace types/wlr_xdg_activation_v1.c \
|
substituteInPlace types/wlr_xdg_activation_v1.c \
|
||||||
--replace 'if (token->seat != NULL)' 'if (false && token->seat != NULL)'
|
--replace-fail 'if (token->seat != NULL)' 'if (false && token->seat != NULL)'
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user