From 8f92d6eb5b9e5d783b59311731a505cfcd6cb426 Mon Sep 17 00:00:00 2001 From: Michael Raitza Date: Sun, 6 Dec 2020 13:09:02 +0100 Subject: [PATCH] Make this an overlay flake --- default.nix | 6 +++--- flake.nix | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 flake.nix diff --git a/default.nix b/default.nix index 554459b..6cdc6f2 100644 --- a/default.nix +++ b/default.nix @@ -1,6 +1,6 @@ -self: super: -with self; -with self.lib; +final: prev: +with final; +with final.lib; let mapAttrs = super.stdenv.lib.mapAttrs; flip = super.stdenv.lib.flip; diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..606a16c --- /dev/null +++ b/flake.nix @@ -0,0 +1,5 @@ +{ + outputs = { ... }: { + overlay = import ./default.nix; + }; +}