Skip to content

Commit

Permalink
feat: add development shell to nix
Browse files Browse the repository at this point in the history
  • Loading branch information
headblockhead committed Nov 17, 2024
1 parent 7dc8359 commit ede2075
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@
};
in
rec {
# The library (nix build)
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
xc
cmake
gcovr
];
};
packages.squirrel = pkgs.stdenv.mkDerivation {
name = "squirrel";
src = ./.;
Expand Down Expand Up @@ -41,7 +47,6 @@
runHook postCheck
'';
};

checks.squirrel = packages.squirrel.overrideAttrs (oldAttrs: {
doCheck = true;
});
Expand Down

0 comments on commit ede2075

Please sign in to comment.