mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 08:56:34 +01:00
Hope this fixes
This commit is contained in:
parent
41c0ace805
commit
71226d52fd
3 changed files with 7 additions and 7 deletions
|
@ -1,12 +1,12 @@
|
||||||
{ stdenv, lib, dns }:
|
{ stdenv, lib }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "opennic-dns-root-data";
|
pname = "opennic-dns-root-data";
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
echo "${dns.lib.toString "example.com" (import ./geek.nix { inherit dns; })}" > $out/geek.zone
|
echo "${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/glue.zone
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ dns }:
|
{ lib }:
|
||||||
|
|
||||||
with dns.lib.combinators;
|
with lib.combinators;
|
||||||
|
|
||||||
{
|
{
|
||||||
SOA = {
|
SOA = {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ dns }:
|
{ lib }:
|
||||||
|
|
||||||
with dns.lib.combinators;
|
with lib.combinators;
|
||||||
|
|
||||||
{
|
{
|
||||||
SOA = {
|
SOA = {
|
||||||
|
|
Loading…
Reference in a new issue