diff --git a/flake.nix b/flake.nix index d579319..8843378 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { description = "The server-side software for Remote Text"; - outputs = { nixpkgs, ... }: + outputs = { self, nixpkgs, ... }: let forAllSystems = gen: nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed @@ -12,6 +12,8 @@ default = remote-text-server; dockerImage = pkgs.dockerTools.buildImage { name = "remote-text-server"; + # Based on the last commit date, see: https://nixos.wiki/wiki/Docker#Reproducible_image_dates + created = builtins.substring 0 8 self.lastModifiedDate; config = { Cmd = [ "${remote-text-server}/bin/remote-text-server" ]; };