harden/flake.nix

25 lines
518 B
Nix
Raw Normal View History

2023-02-17 16:43:27 +00:00
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
2023-02-18 19:26:43 +00:00
shellWithPkgs = packages: pkgs.mkShell {
inherit packages;
2023-02-17 16:43:27 +00:00
};
in
{
2023-02-18 19:26:43 +00:00
devShells.default = shellWithPkgs [ pkgs.codeql ];
2023-02-17 16:43:27 +00:00
});
}
2023-02-17 17:12:11 +00:00