]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - flakes/paste/flake.nix
Squash changes containing private information
[perso/Immae/Config/Nix.git] / flakes / paste / flake.nix
index 08d0681ea1b3ea53ffc205db66169f5c1dc48af7..97e31c84fcb3b4aed647020d8c24e8c000c0dbac 100644 (file)
@@ -45,6 +45,8 @@
         let
           cfg = config.services.paste;
         in {
+          # Necessary for situations where flake gets included multiple times
+          key = builtins.hashString "sha256" (builtins.path { path = self.sourceInfo.outPath; name = "source"; });
           options = {
             services.paste = {
               enable = lib.mkOption {