cosmic-comp: install default config files

There's a Makefile that installs the Rust binary and some default
config files.
This commit is contained in:
Alyssa Ross 2024-10-16 19:00:30 +02:00
parent 10eedf98f6
commit 45c0b3e9e5
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -77,6 +77,14 @@ rustPlatform.buildRustPackage rec {
"-Wl,--pop-state"
];
makeFlags = [
"prefix=$(out)"
"CARGO_TARGET_DIR=target/${stdenv.hostPlatform.rust.cargoShortTarget}"
];
# Use default stdenv installPhase, not the buildRustPackage one.
installPhase = "installPhase";
# These libraries are only used by the X11 backend, which will not
# be the common case, so just make them available, don't link them.
postInstall = ''