nixos-config/templates/basic-devshell/flake.nix

16 lines
469 B
Nix
Raw Normal View History

{
description = "Basic flake template for setting up development shells";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = inputs@{ self, nixpkgs, ... }:
let systems = inputs.flake-utils.lib.defaultSystems;
in inputs.flake-utils.lib.eachSystem systems (system: {
devShell =
import ./shell.nix { pkgs = import nixpkgs { inherit system; }; };
});
}