mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
cosmic-initial-setup: fix theme and layouts page
This commit is contained in:
parent
d205b65645
commit
c5b7bdc65d
1 changed files with 9 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
stdenv,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
just,
|
||||
libcosmicAppHook,
|
||||
libinput,
|
||||
|
|
@ -24,6 +25,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
|
||||
cargoHash = "sha256-orwK9gcFXK4/+sfwRubcz0PP6YAFqsENRHnlSLttLxM=";
|
||||
|
||||
buildFeatures = [ "nixos" ];
|
||||
|
||||
# cargo-auditable fails during the build when compiling the `crabtime::function`
|
||||
# procedural macro. It panics because the `--out-dir` flag is not passed to
|
||||
# the rustc wrapper.
|
||||
|
|
@ -47,6 +50,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
patches = [
|
||||
./disable-language-page.patch
|
||||
./disable-timezone-page.patch
|
||||
# TODO: Remove in next update
|
||||
(fetchpatch2 {
|
||||
name = "fix-layout-and-themes-page.patch";
|
||||
url = "https://patch-diff.githubusercontent.com/raw/pop-os/cosmic-initial-setup/pull/53.diff?full_index=1";
|
||||
hash = "sha256-081qyQnPhh+FRPU/JKJVCK+l3SKjHAIV5b6/7WN6lb8=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue