Skip to content

Commit

Permalink
fix: nix shell
Browse files Browse the repository at this point in the history
  • Loading branch information
SG60 committed Nov 1, 2024
1 parent 416d5a3 commit df49ab3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
12 changes: 7 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@

outputs = { nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; };
let
pkgs = import nixpkgs { inherit system; };
pkgsCross = pkgs.pkgsCross;
dev-shell-path = ./shell.nix;
in
{
devShells = {
default = with pkgs; mkShellNoCC {
packages = [ protobuf ];
};
aarch64-unknown-linux-musl = callPackage xasdfads;
default = pkgs.callPackage dev-shell-path { };
aarch64-unknown-linux-musl =
pkgsCross.aarch64-multiplatform-musl.callPackage dev-shell-path { };
};
});
}
5 changes: 5 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{ mkShellNoCC, protobuf }:

mkShellNoCC {
packages = [ protobuf ];
}

0 comments on commit df49ab3

Please sign in to comment.