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
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

View file

@ -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)"