Skip to content
Snippets Groups Projects
Verified Commit c6c94512 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: doc

parent de310db1
No related branches found
No related tags found
No related merge requests found
flake-profile-11-link
\ No newline at end of file
flake-profile-12-link
\ No newline at end of file
/nix/store/64g3p9ilfsik3g37zsdn336vkgc3pjqf-bob-env
\ No newline at end of file
......@@ -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
......
{
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
# '';
};
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment