Compare commits

..

5 commits

3 changed files with 11 additions and 5 deletions

View file

@ -72,6 +72,10 @@ 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:
@ -87,5 +91,7 @@ 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

View file

@ -1,4 +1,4 @@
{ rustPlatform
{ pkgs
, lib
, stdenv
, pkg-config
@ -11,7 +11,7 @@
let
customizeFeatures = !(enableCodeforces && enableOsu);
in
rustPlatform.buildRustPackage {
pkgs.rustPlatform.buildRustPackage {
pname = "youmubot";
version = "0.1.0";