aboutsummaryrefslogtreecommitdiff
path: root/examples/simple/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple/flake.nix')
-rw-r--r--examples/simple/flake.nix29
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
+ ];
+ };
+ }
+ );
+}