From c6c94512c16da86c5c567de1116b65b139ebeb0b Mon Sep 17 00:00:00 2001
From: Volker Schukai <volker.schukai@schukai.com>
Date: Wed, 5 Jul 2023 17:22:25 +0200
Subject: [PATCH] chore: doc

---
 .direnv/flake-profile         |  2 +-
 .direnv/flake-profile-12-link |  1 +
 README.md                     |  4 ++++
 flake.nix                     | 13 -------------
 4 files changed, 6 insertions(+), 14 deletions(-)
 create mode 120000 .direnv/flake-profile-12-link

diff --git a/.direnv/flake-profile b/.direnv/flake-profile
index c7ae88b..e48a077 120000
--- a/.direnv/flake-profile
+++ b/.direnv/flake-profile
@@ -1 +1 @@
-flake-profile-11-link
\ No newline at end of file
+flake-profile-12-link
\ No newline at end of file
diff --git a/.direnv/flake-profile-12-link b/.direnv/flake-profile-12-link
new file mode 120000
index 0000000..2576f87
--- /dev/null
+++ b/.direnv/flake-profile-12-link
@@ -0,0 +1 @@
+/nix/store/64g3p9ilfsik3g37zsdn336vkgc3pjqf-bob-env
\ No newline at end of file
diff --git a/README.md b/README.md
index 50115ef..f3e2486 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,10 @@ To check out docs and examples, visit [gitlab.schukai.com/oss/bob](https://gitla
 wget -O ~/.local/bin/bob http://download.schukai.com/tools/bob/bob-$( uname -s | tr [:upper:] [:lower:])-$(echo `uname -m | sed s/aarch64/arm64/ | sed s/x86_64/amd64/`) && chmod u+x ~/.local/bin/bob
 ```
 
+### Nix/Flake Support
+
+This repository contains a file called flake.nix. You can install this program using the nix package manager.
+
 ## Usage
 
 ### Template
diff --git a/flake.nix b/flake.nix
index d9de8ed..1ab11a1 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,6 +1,5 @@
 {
   description = "Bob: The HTML and HTML fragment builder";
-
   inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
 
   outputs = { self, nixpkgs }: 
@@ -25,19 +24,7 @@
           vendorSha256 = "sha256-qiObIbA75kfkGzZoTtZbkm4zQqXokL+hiWrJdmL8oxU="; # Use "nix to-sri --type sha256" on the actual hash
           doCheck = true;
           nativeBuildInputs = [ final.jq ];
-          
-            
-          
-                    #buildInputs = [ nixpkgs.go ];
-
           ldflags=''-X main.version=${currentVersion} -X main.build=${self.lastModifiedDate}'';
-          #buildFlags = "-ldflags=-X main.version=${currentVersion} -X main.build=${self.lastModifiedDate}";
-#          buildPhase = ''
-#            buildFlagsArray=(
-#              "-ldflags=-X main.version=${currentVersion} -X main.build=${self.lastModifiedDate}"
-#            )
-#            buildPhase
-#          '';
         };
       };
 
-- 
GitLab