mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 01:00:49 +00:00
Move from naersk to crane
This commit is contained in:
parent
46684a2a9e
commit
10129af76a
4 changed files with 57 additions and 41 deletions
10
package.nix
10
package.nix
|
@ -1,4 +1,4 @@
|
|||
{ naersk
|
||||
{ craneLib
|
||||
, lib
|
||||
, stdenv
|
||||
, pkg-config
|
||||
|
@ -16,12 +16,12 @@ let
|
|||
++ lib.optional enableOsu "--features=osu"
|
||||
);
|
||||
in
|
||||
naersk.buildPackage {
|
||||
name = "youmubot";
|
||||
craneLib.buildPackage {
|
||||
pname = "youmubot";
|
||||
version = "0.1.0";
|
||||
|
||||
root = ./.;
|
||||
cargoBuildOptions = opts: opts ++ [ "--package youmubot" ] ++ featureFlags;
|
||||
src = ./.;
|
||||
cargoExtraArgs = builtins.concatStringsSep " " ([ "--locked" "--package youmubot" ] ++ featureFlags);
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue