mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 21:37:55 +08:00
build(nix): fix ci build
This commit is contained in:
+5
-3
@@ -1,5 +1,6 @@
|
||||
{
|
||||
pimalaya ? import (fetchTarball "https://github.com/pimalaya/nix/archive/master.tar.gz"),
|
||||
nixpkgs ? <nixpkgs>,
|
||||
...
|
||||
}@args:
|
||||
|
||||
@@ -11,16 +12,17 @@ pimalaya.mkDefault (
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
rustPlatform,
|
||||
defaultFeatures,
|
||||
features,
|
||||
...
|
||||
}:
|
||||
pkgs.himalaya.overrideAttrs (_: {
|
||||
pkgs.callPackage "${nixpkgs}/pkgs/by-name/hi/himalaya/package.nix" {
|
||||
inherit lib rustPlatform;
|
||||
installShellCompletions = false;
|
||||
installManPages = false;
|
||||
buildNoDefaultFeatures = !defaultFeatures;
|
||||
buildFeatures = lib.splitString "," features;
|
||||
})
|
||||
}
|
||||
);
|
||||
}
|
||||
// removeAttrs args [ "pimalaya" ]
|
||||
|
||||
Reference in New Issue
Block a user