mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-20 09:18:54 +00:00
Compare commits
4 commits
d92ec47002
...
93e2f02688
Author | SHA1 | Date | |
---|---|---|---|
93e2f02688 | |||
2c70628874 | |||
9bc4a75ad3 | |||
3d8b11d6a6 |
3 changed files with 5 additions and 11 deletions
6
.github/workflows/build_test.yml
vendored
6
.github/workflows/build_test.yml
vendored
|
@ -72,10 +72,6 @@ jobs:
|
|||
- uses: cachix/install-nix-action@v27
|
||||
with:
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: cachix/cachix-action@v15
|
||||
with:
|
||||
name: natsukagami
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- name: Build dependencies
|
||||
run: nix build .#youmubot.cargoDeps --option substituters "https://cache.nixos.org" --option extra-substituters ""
|
||||
build:
|
||||
|
@ -91,7 +87,5 @@ jobs:
|
|||
name: natsukagami
|
||||
# If you chose API tokens for write access OR if you have a private cache
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- name: Check cargoDeps
|
||||
run: nix build .#youmubot.cargoDeps
|
||||
- name: Run nix build
|
||||
run: nix build
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
};
|
||||
in
|
||||
rec {
|
||||
packages.youmubot = pkgs.callPackage ./package.nix {};
|
||||
packages.youmubot = pkgs.callPackage ./package.nix { };
|
||||
|
||||
defaultPackage = packages.youmubot;
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
|||
};
|
||||
}) // {
|
||||
overlays.default = final: prev: {
|
||||
youmubot = final.callPackage ./package.nix {};
|
||||
youmubot = final.callPackage ./package.nix { };
|
||||
};
|
||||
# module
|
||||
nixosModules.default = import ./module.nix;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs
|
||||
{ rustPlatform
|
||||
, lib
|
||||
, stdenv
|
||||
, pkg-config
|
||||
|
@ -11,7 +11,7 @@
|
|||
let
|
||||
customizeFeatures = !(enableCodeforces && enableOsu);
|
||||
in
|
||||
pkgs.rustPlatform.buildRustPackage {
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "youmubot";
|
||||
version = "0.1.0";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue