Skip to content

Commit

Permalink
chore(ci): use devshell to build the app
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnwriter committed Aug 14, 2024
1 parent 7389457 commit a1d1b1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
uses: DeterminateSystems/magic-nix-cache-action@main

- name: Build
run: nix build
run: nix develop --command nix build
4 changes: 3 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ rustPlatform.buildRustPackage {
lockFile = ./Cargo.lock;
};

buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];

meta = {
inherit (p) description homepage;
Expand Down

0 comments on commit a1d1b1f

Please sign in to comment.