From 55384804b1ec2db0c88025b5d7261c79a6fd3814 Mon Sep 17 00:00:00 2001 From: Thorn Avery Date: Mon, 5 Oct 2020 12:23:30 +1300 Subject: [PATCH] cleaned up inputs and outputs --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 80a6be8..c69ce99 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,7 @@ inputs.nixpkgs.url = github:Nixos/nixpkgs/nixos-20.03; - outputs = { self, nix, nixpkgs }: + outputs = { self, nixpkgs }: let supportedSystems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ]; forAllSystems = @@ -11,7 +11,7 @@ version = "1.0.0"; in { overlay = final: prev: { - swatch = with final; let nix = final.nix; in stdenv.mkDerivation { + swatch = with final; in stdenv.mkDerivation { name = "swatch-${version}"; buildInputs = [ gawk utillinux ]; src = self; @@ -36,7 +36,7 @@ defaultPackage = forAllSystems (system: (import nixpkgs { inherit system; - overlays = [ self.overlay nix.overlay ]; + overlays = [ self.overlay ]; }).swatch); }; }