diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-03-31 23:44:59 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-04-01 00:00:07 +0200 |
commit | 2bb1c6d4948eecbdacea1267ee0a132aa88a7b5c (patch) | |
tree | d9894056cafdf83fd7edb7b785ac6076cdc177cc /templates/awk/flake.nix | |
parent | refactor(flake): Move some nix code out of flake.nix (diff) | |
download | flake-templates-2bb1c6d4948eecbdacea1267ee0a132aa88a7b5c.tar.gz flake-templates-2bb1c6d4948eecbdacea1267ee0a132aa88a7b5c.zip |
fix(templates): Update already done templates with improvements from new ones
Diffstat (limited to 'templates/awk/flake.nix')
-rw-r--r-- | templates/awk/flake.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/templates/awk/flake.nix b/templates/awk/flake.nix index aeacf3b..144a17e 100644 --- a/templates/awk/flake.nix +++ b/templates/awk/flake.nix @@ -53,8 +53,8 @@ man_number = "1"; # TODO change if necessary pname = "TODO"; - in { - packages.default = pkgs.stdenv.mkDerivation { + + build = pkgs.stdenv.mkDerivation { inherit version pname; src = ./.; @@ -82,8 +82,12 @@ chmod +x $out/bin/${pname} ''; }; - - checks.formatting = treefmtEval.config.build.check self; + in { + packages.default = build; + checks = { + inherit build; + formatting = treefmtEval.config.build.check self; + }; formatter = treefmtEval.config.build.wrapper; devShells.default = pkgs.mkShell { @@ -92,6 +96,7 @@ flake_version_update.packages."${system}".default gawk + licensure ]; }; }); |