🏡 index : ~doyle/aoc.git

author Jordan Doyle <jordan@doyle.la> 2023-12-10 0:55:47.0 +00:00:00
committer Jordan Doyle <jordan@doyle.la> 2023-12-10 0:55:47.0 +00:00:00
commit
5c02a278aea5717673353fce2dbb91e96a879ed8 [patch]
tree
f9f394250e9801cdfd2c0974853f4ad84ef90610
parent
fb40454939d0a45a9d1915053bd1f2fa78d4ac77
download
5c02a278aea5717673353fce2dbb91e96a879ed8.tar.gz

Add fprettify



Diff

 flake.lock         | 16 ++++++++++------
 flake.nix          |  2 +-
 treefmt.nix        |  1 +
 2022/1/default.nix |  2 +-
 4 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/flake.lock b/flake.lock
index d9262a1..02e6b81 100644
--- a/flake.lock
+++ a/flake.lock
@@ -1,12 +1,12 @@
{
  "nodes": {
    "nixpkgs": {
      "locked": {
        "lastModified": 1701693815,
        "narHash": "sha256-7BkrXykVWfkn6+c1EhFA3ko4MLi3gVG0p9G96PNnKTM=",
        "lastModified": 1702029940,
        "narHash": "sha256-qM3Du0perpLesh5hr87mVPZ79McMUKIWUH7EQMh2kWo=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "09ec6a0881e1a36c29d67497693a67a16f4da573",
        "rev": "e9ef8a102c555da4f8f417fe5cf5bd539d8a38b7",
        "type": "github"
      },

      "original": {
@@ -56,15 +56,15 @@
        "nixpkgs": "nixpkgs_2"
      },

      "locked": {
        "lastModified": 1701958734,
        "narHash": "sha256-3h3EH1FXQkIeAuzaWB+nK0XK54uSD46pp+dMD3gAcB4=",
        "owner": "numtide",
        "lastModified": 1702169460,
        "narHash": "sha256-BaTrqpMo0IDSmM7fyMFVri5SEtQWLU101w/nn99j9bU=",
        "owner": "JordanForks",
        "repo": "treefmt-nix",
        "rev": "e8cea581dd2b7c9998c1e6662db2c1dc30e7fdb0",
        "rev": "0b9cf4319069458116e73fc2634a5b7d6316015f",
        "type": "github"
      },

      "original": {
        "owner": "numtide",
        "owner": "JordanForks",
        "repo": "treefmt-nix",
        "type": "github"
      }

diff --git a/flake.nix b/flake.nix
index 84a6d1a..bd6f8d8 100644
--- a/flake.nix
+++ a/flake.nix
@@ -1,6 +1,6 @@
{
  inputs = {
    treefmt-nix.url = "github:numtide/treefmt-nix";
    treefmt-nix.url = "github:JordanForks/treefmt-nix";
  };

  outputs = { self, nixpkgs, systems, treefmt-nix }:
diff --git a/treefmt.nix b/treefmt.nix
index 6e9a25e..9c9d5e7 100644
--- a/treefmt.nix
+++ a/treefmt.nix
@@ -8,5 +8,6 @@
    nixpkgs-fmt.enable = true;
    statix.enable = true;
    rustfmt.enable = true;
    fprettify.enable = true;
  };
}
diff --git a/2022/1/default.nix b/2022/1/default.nix
index 9916b23..41973b3 100644
--- a/2022/1/default.nix
+++ a/2022/1/default.nix
@@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> {} }:
{ pkgs ? import <nixpkgs> { } }:

pkgs.stdenv.mkDerivation {
  name = "aoc-2022-1";