Skip to content

Commit

Permalink
finished flake
Browse files Browse the repository at this point in the history
  • Loading branch information
Mast3rwaf1z committed Jun 12, 2024
1 parent 1c6f4ef commit 836e980
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ For nix based systems:
```sh
git clone https://github.com/f-klubben/sangbog.git
```
2. Build the pdf
2. Enter environment
```sh
nix build
#or
nix build .#pdf
nix develop
```
3. Build pdf
```sh
make booklet
```

Adding new songs
Expand Down
11 changes: 0 additions & 11 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,6 @@
packages.${system} = {
default = booklet;
pdf = pdf;
#for ubuntu wsl
defaultPackage.${system} = booklet;
build = pkgs.writeScriptBin "build-sangbog" ''
if [[ "$1" == "" ]]; then
target="booklet"
else
target="$1"
fi
${pkgs.gnumake}/bin/make $target
'';
};

};
Expand Down

0 comments on commit 836e980

Please sign in to comment.