mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 13:17:55 +08:00
fix gh action ls
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user