fix-overlay #14
5 changed files with 13 additions and 10 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1162,7 +1162,7 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "webnsupdate"
|
name = "webnsupdate"
|
||||||
version = "0.3.1-dev"
|
version = "0.3.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"axum",
|
"axum",
|
||||||
"axum-auth",
|
"axum-auth",
|
||||||
|
|
|
@ -3,7 +3,7 @@ cargo-features = ["codegen-backend"]
|
||||||
[package]
|
[package]
|
||||||
description = "An HTTP server using HTTP basic auth to make secure calls to nsupdate"
|
description = "An HTTP server using HTTP basic auth to make secure calls to nsupdate"
|
||||||
name = "webnsupdate"
|
name = "webnsupdate"
|
||||||
version = "0.3.1-dev"
|
version = "0.3.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
inputs.treefmt-nix.flakeModule
|
inputs.treefmt-nix.flakeModule
|
||||||
./package.nix
|
./package.nix
|
||||||
./overlay.nix
|
|
||||||
./module.nix
|
./module.nix
|
||||||
./tests.nix
|
./tests.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
flake = {
|
|
||||||
overlays.default = _final: prev: { webnsupdate = prev.callPackage ../default.nix { }; };
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,7 +1,16 @@
|
||||||
{ inputs, lib, ... }:
|
{ withSystem, inputs, ... }:
|
||||||
{
|
{
|
||||||
|
flake.overlays.default =
|
||||||
|
final: prev:
|
||||||
|
withSystem prev.stdenv.hostPlatform.system (
|
||||||
|
{ self', ... }:
|
||||||
|
{
|
||||||
|
inherit (self'.packages) webnsupdate;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
perSystem =
|
perSystem =
|
||||||
{ pkgs, ... }:
|
{ pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
craneLib = inputs.crane.mkLib pkgs;
|
craneLib = inputs.crane.mkLib pkgs;
|
||||||
src = craneLib.cleanCargoSource inputs.self;
|
src = craneLib.cleanCargoSource inputs.self;
|
||||||
|
|
Loading…
Reference in a new issue