nix/examples/flake/flake.nix
2025-11-02 21:10:29 +08:00

13 lines
304 B
Nix

{
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [ hello ];
};
});
}
# Run with: nix develop