Update flake package version

This commit is contained in:
Miguel de la Cruz 2024-01-06 01:16:30 +01:00
parent e7c4816d31
commit b60dfb8a7b
1 changed files with 6 additions and 1 deletions

View File

@ -9,6 +9,10 @@
}: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
rev =
if (self ? rev)
then self.rev
else "dirty";
in {
formatter.${system} = pkgs.alejandra;
@ -29,7 +33,8 @@
};
packages.${system}.default = pkgs.stdenv.mkDerivation {
name = "ctrlz.es";
pname = "ctrlz.es";
version = "v" + builtins.substring 0 7 rev;
src = ./.;
buildInputs = with pkgs; [hugo];