harden/flake.nix

26 lines
560 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;
};
lib = pkgs.lib;
shellWithPkgs = buildInputs: pkgs.mkShell {
inherit buildInputs;
};
in
{
devShells.default = shellWithPkgs (lib.singleton pkgs.codeql);
});
}
2023-02-17 17:12:11 +00:00