From 71226d52fdd6d90dfbb7889d442147a22c12fe66 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Mon, 6 Mar 2023 21:50:31 +0100 Subject: [PATCH] Hope this fixes --- packages/opennic-dns-root-data/default.nix | 6 +++--- packages/opennic-dns-root-data/geek.nix | 4 ++-- packages/opennic-dns-root-data/glue.nix | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/opennic-dns-root-data/default.nix b/packages/opennic-dns-root-data/default.nix index 10e081e..d79d1af 100644 --- a/packages/opennic-dns-root-data/default.nix +++ b/packages/opennic-dns-root-data/default.nix @@ -1,12 +1,12 @@ -{ stdenv, lib, dns }: +{ stdenv, lib }: stdenv.mkDerivation { pname = "opennic-dns-root-data"; buildCommand = '' mkdir $out - echo "${dns.lib.toString "example.com" (import ./geek.nix { inherit dns; })}" > $out/geek.zone - echo "${dns.lib.toString "example.com" (import ./geek.nix { inherit dns; })}" > $out/glue.zone + echo "${lib.toString "example.com" (import ./geek.nix { inherit dns; })}" > $out/geek.zone + echo "${lib.toString "example.com" (import ./geek.nix { inherit dns; })}" > $out/glue.zone ''; meta = with lib; { diff --git a/packages/opennic-dns-root-data/geek.nix b/packages/opennic-dns-root-data/geek.nix index 5c2e7ba..543ea63 100644 --- a/packages/opennic-dns-root-data/geek.nix +++ b/packages/opennic-dns-root-data/geek.nix @@ -1,6 +1,6 @@ -{ dns }: +{ lib }: -with dns.lib.combinators; +with lib.combinators; { SOA = { diff --git a/packages/opennic-dns-root-data/glue.nix b/packages/opennic-dns-root-data/glue.nix index 52a7029..87a647c 100644 --- a/packages/opennic-dns-root-data/glue.nix +++ b/packages/opennic-dns-root-data/glue.nix @@ -1,6 +1,6 @@ -{ dns }: +{ lib }: -with dns.lib.combinators; +with lib.combinators; { SOA = {