cosmic-initial-setup: fix theme and layouts page (#447578)
This commit is contained in:
@@ -72,6 +72,8 @@ in
|
|||||||
environment.pathsToLink = [
|
environment.pathsToLink = [
|
||||||
"/share/backgrounds"
|
"/share/backgrounds"
|
||||||
"/share/cosmic"
|
"/share/cosmic"
|
||||||
|
"/share/cosmic-layouts"
|
||||||
|
"/share/cosmic-themes"
|
||||||
];
|
];
|
||||||
environment.systemPackages = utils.removePackagesByName (
|
environment.systemPackages = utils.removePackagesByName (
|
||||||
corePkgs
|
corePkgs
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch2,
|
||||||
just,
|
just,
|
||||||
libcosmicAppHook,
|
libcosmicAppHook,
|
||||||
libinput,
|
libinput,
|
||||||
@@ -24,6 +25,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||||||
|
|
||||||
cargoHash = "sha256-orwK9gcFXK4/+sfwRubcz0PP6YAFqsENRHnlSLttLxM=";
|
cargoHash = "sha256-orwK9gcFXK4/+sfwRubcz0PP6YAFqsENRHnlSLttLxM=";
|
||||||
|
|
||||||
|
buildFeatures = [ "nixos" ];
|
||||||
|
|
||||||
# cargo-auditable fails during the build when compiling the `crabtime::function`
|
# cargo-auditable fails during the build when compiling the `crabtime::function`
|
||||||
# procedural macro. It panics because the `--out-dir` flag is not passed to
|
# procedural macro. It panics because the `--out-dir` flag is not passed to
|
||||||
# the rustc wrapper.
|
# the rustc wrapper.
|
||||||
@@ -47,6 +50,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||||||
patches = [
|
patches = [
|
||||||
./disable-language-page.patch
|
./disable-language-page.patch
|
||||||
./disable-timezone-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 = ''
|
postPatch = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user