2023-03-25 12:43:23 +02:00
|
|
|
{
|
|
|
|
inputs = {
|
2023-03-25 12:48:37 +02:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11-small";
|
2023-03-25 12:43:23 +02:00
|
|
|
flake-compat = {
|
|
|
|
url = "github:edolstra/flake-compat";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
|
|
|
outputs = { nixpkgs, flake-utils, ... }:
|
|
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
in
|
|
|
|
{
|
|
|
|
devShells.default = with pkgs; mkShell {
|
|
|
|
name = "rules_nixpkgs_shell";
|
|
|
|
packages = [ bash hugo zopfli brotli parallel ];
|
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|