flare-signal-nixified: enable primary device registration
This commit is contained in:
@@ -127,12 +127,15 @@ let
|
|||||||
"--cross-file=${crossFile}"
|
"--cross-file=${crossFile}"
|
||||||
];
|
];
|
||||||
|
|
||||||
# patch so meson will invoke our `crate2nix_cmd.sh` instead of cargo
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
# patch so meson will invoke our `crate2nix_cmd.sh` instead of cargo
|
||||||
substituteInPlace src/meson.build \
|
substituteInPlace src/meson.build \
|
||||||
--replace 'cargo_options,' "" \
|
--replace 'cargo_options,' "" \
|
||||||
--replace "cargo, 'build'," "'bash', 'crate2nix_cmd.sh'," \
|
--replace "cargo, 'build'," "'bash', 'crate2nix_cmd.sh'," \
|
||||||
--replace "'target' / rust_target" "'target/bin'"
|
--replace "'target' / rust_target" "'target/bin'"
|
||||||
|
# enable the "Primary Device" button (beta)
|
||||||
|
substituteInPlace data/resources/ui/setup_window.blp \
|
||||||
|
--replace 'sensitive: false;' ""
|
||||||
'';
|
'';
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
# copied from <pkgs/development/tools/build-managers/meson/setup-hook.sh>
|
# copied from <pkgs/development/tools/build-managers/meson/setup-hook.sh>
|
||||||
|
Reference in New Issue
Block a user