chore: refactor nix package definition
1 file changed, 4 insertions(+), 5 deletions(-)
changed files
M nix/package.nix → nix/package.nix
@@ -42,8 +42,7 @@ cp ${css} frontend/static/base.css ''; tags = [ "embed" ]; ldflags = [ - "-X" - "alin.ovh/searchix/internal/config.Version=${version}" + "-X=alin.ovh/searchix/internal/config.Version=${version}" ]; postInstall = ''@@ -54,10 +53,10 @@ modules = ../gomod2nix.toml; doCheck = false; - meta = with lib; { + meta = { description = "Search tool for options and packages in the NixOS ecosystem"; mainProgram = "searchix-web"; - license = licenses.mit; - platforms = platforms.all; + license = lib.licenses.mit; + platforms = lib.platforms.all; }; }