gui-installer: depend on git + ignore flake config
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
mypy,
|
mypy,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
clan-core-path,
|
clan-core-path,
|
||||||
|
gitMinimal,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
# Dependencies that are directly used in the project
|
# Dependencies that are directly used in the project
|
||||||
@@ -113,7 +114,13 @@ python3.pkgs.buildPythonApplication {
|
|||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
# Arguments for the wrapper to unset LD_LIBRARY_PATH to avoid glibc version issues
|
# Arguments for the wrapper to unset LD_LIBRARY_PATH to avoid glibc version issues
|
||||||
makeWrapperArgs = [ "--unset LD_LIBRARY_PATH" ];
|
makeWrapperArgs = [
|
||||||
|
"--unset LD_LIBRARY_PATH"
|
||||||
|
"--suffix"
|
||||||
|
"PATH"
|
||||||
|
":"
|
||||||
|
"${gitMinimal}/bin/git"
|
||||||
|
];
|
||||||
|
|
||||||
# Build-time dependencies.
|
# Build-time dependencies.
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ ensure_nix_installed() {
|
|||||||
start_clan_gui() {
|
start_clan_gui() {
|
||||||
exec nix run \
|
exec nix run \
|
||||||
https://git.clan.lol/clan/clan-core/archive/main.tar.gz#clan-vm-manager \
|
https://git.clan.lol/clan/clan-core/archive/main.tar.gz#clan-vm-manager \
|
||||||
|
--no-accept-flake-config \
|
||||||
--extra-experimental-features flakes nix-command -- "$@"
|
--extra-experimental-features flakes nix-command -- "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user