diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-07-30 16:12:20 +0200 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-07-30 16:12:20 +0200 |
| commit | a524bf5c41c17975d7e85d87db1dc1d49e472f88 (patch) | |
| tree | 9ab3e2d69249671c85f670c32aa68b495f94c168 /examples/simple/flake.nix | |
Initial commit
Diffstat (limited to 'examples/simple/flake.nix')
| -rw-r--r-- | examples/simple/flake.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/simple/flake.nix b/examples/simple/flake.nix new file mode 100644 index 0000000..366464d --- /dev/null +++ b/examples/simple/flake.nix @@ -0,0 +1,29 @@ +{ + description = "futils demo."; + + inputs.futils = { + url = "git+https://git.sorre.xyz/miranb/futils"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + outputs = + { + self, + nixpkgs, + futils, + }: + futils.lib.eachSystem ( + system: + let + pkgs = nixpkgs.legacyPackages.${system}; + in + { + devShells.default = futils.lib.mkMinimalShell pkgs { + packages = with pkgs; [ + git + hello + ]; + }; + } + ); +} |
