mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-20 07:28:26 +08:00
clean
This commit is contained in:
@@ -20,8 +20,9 @@ jobs:
|
||||
os: ubuntu-latest
|
||||
- target: i686-unknown-linux-musl
|
||||
os: ubuntu-latest
|
||||
- target: i686-w64-mingw32
|
||||
os: ubuntu-latest
|
||||
# FIXME
|
||||
# - target: i686-w64-mingw32
|
||||
# os: ubuntu-latest
|
||||
- target: x86_64-apple-darwin
|
||||
os: macos-13
|
||||
- target: x86_64-unknown-linux-musl
|
||||
|
||||
+3
-2
@@ -2,8 +2,9 @@
|
||||
|
||||
let
|
||||
pkgs = import <nixpkgs> (
|
||||
if isNull target then { }
|
||||
else { crossSystem.config = target; }
|
||||
if isNull target then { } else {
|
||||
crossSystem = { isStatic = true; config = target; };
|
||||
}
|
||||
);
|
||||
|
||||
inherit (pkgs) lib hostPlatform;
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
{ pkgs ? import <nixpkgs> {
|
||||
overlays = [
|
||||
(import (fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz"))
|
||||
];
|
||||
}
|
||||
}:
|
||||
|
||||
let
|
||||
package = import ./default.nix { inherit pkgs; };
|
||||
in
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
pkgs.mkShell {
|
||||
inputsFrom = [ package ];
|
||||
buildInputs = with pkgs; [
|
||||
nixd
|
||||
nixpkgs-fmt
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user