Skip to content

Commit

Permalink
Fix creation date
Browse files Browse the repository at this point in the history
  • Loading branch information
Samasaur1 committed Jan 7, 2024
1 parent b4ff73d commit a33bf49
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
16 changes: 16 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
description = "The server-side software for Remote Text";

outputs = { self, nixpkgs, ... }:
inputs.flockenzeit = {
url = "github:balsoft/Flockenzeit";
inputs.nixpkgs.follows = "nixpkgs";
};

outputs = { self, flockenzeit, nixpkgs, ... }:
let
forAllSystems = gen:
nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed
Expand All @@ -12,8 +17,7 @@
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;
created = flockenzeit.lib.ISO-8601 self.lastModified;
config = {
Cmd = [ "${remote-text-server}/bin/remote-text-server" ];
};
Expand Down

0 comments on commit a33bf49

Please sign in to comment.