fix gh action ls

This commit is contained in:
Clément DOUIN 2024-04-19 09:44:16 +02:00
parent 5003abe1e1
commit c022e66289
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72
2 changed files with 2 additions and 8 deletions

View file

@ -36,8 +36,4 @@ jobs:
- name: Run app - name: Run app
run: | run: |
nix run -L .#${{ matrix.target }} -- --version nix run -L .#${{ matrix.target }} -- --version
ls result/bin -al ls result -al
ls result/share -al
ls result/share/applications -al
ls result/share/man -al
ls result/share/completions -al

View file

@ -26,8 +26,6 @@
inherit (nixpkgs) lib; inherit (nixpkgs) lib;
inherit (gitignore.lib) gitignoreSource; inherit (gitignore.lib) gitignoreSource;
staticRustFlags = [ "-Ctarget-feature=+crt-static" ];
# Map of map matching supported Nix build systems with Rust # Map of map matching supported Nix build systems with Rust
# cross target systems. # cross target systems.
crossSystems = { crossSystems = {
@ -168,7 +166,7 @@
auditable = false; auditable = false;
nativeBuildInputs = with pkgs; [ pkg-config ]; nativeBuildInputs = with pkgs; [ pkg-config ];
CARGO_BUILD_TARGET = targetConfig.rustTarget; CARGO_BUILD_TARGET = targetConfig.rustTarget;
CARGO_BUILD_RUSTFLAGS = staticRustFlags; CARGO_BUILD_RUSTFLAGS = [ "-Ctarget-feature=+crt-static" ];
postInstall = '' postInstall = ''
export WINEPREFIX="$(mktemp -d)" export WINEPREFIX="$(mktemp -d)"