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 = {