Skip to content

Commit

Permalink
Add release-mode shell
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed Aug 12, 2022
1 parent 40207b9 commit e630f27
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,15 @@
in
rec {
defaultPackage = pkgs.callPackage ./nix { };
devShell = pkgs.callPackage ./shell.nix {
packages = [ defaultPackage ];
devShells = {
default = pkgs.callPackage ./shell.nix {
packages = [ defaultPackage ];
};

release = pkgs.callPackage ./shell.nix {
packages = [ defaultPackage ];
release-mode = true;
};
};
});
}

0 comments on commit e630f27

Please sign in to comment.