diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2d39313..6127c27 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,8 +36,4 @@ jobs: - name: Run app run: | nix run -L .#${{ matrix.target }} -- --version - ls result/bin -al - ls result/share -al - ls result/share/applications -al - ls result/share/man -al - ls result/share/completions -al + ls result -al diff --git a/flake.nix b/flake.nix index 4e5c344..f8bc54f 100644 --- a/flake.nix +++ b/flake.nix @@ -26,8 +26,6 @@ inherit (nixpkgs) lib; inherit (gitignore.lib) gitignoreSource; - staticRustFlags = [ "-Ctarget-feature=+crt-static" ]; - # Map of map matching supported Nix build systems with Rust # cross target systems. crossSystems = { @@ -168,7 +166,7 @@ auditable = false; nativeBuildInputs = with pkgs; [ pkg-config ]; CARGO_BUILD_TARGET = targetConfig.rustTarget; - CARGO_BUILD_RUSTFLAGS = staticRustFlags; + CARGO_BUILD_RUSTFLAGS = [ "-Ctarget-feature=+crt-static" ]; postInstall = '' export WINEPREFIX="$(mktemp -d)"