Skip to content

Commit

Permalink
chore(docs): update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Mar 16, 2024
1 parent a3ea9f5 commit 27e7553
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@
EOF
# declare all packages this flake provides
cat ${self}/flake/pkgs/default.nix |
cat ${self}/parts/pkgs/default.nix |
awk '/= pkgs/{print $1}' |
awk "!/docs/" |
sed -E "s/(.*)/- [\1](https:\/\/github.com\/isabelroses\/dotfiles\/blob\/main\/flake\/pkgs\/\1\.nix)/g" >> $out
# declare docs
cat ${self}/flake/pkgs/default.nix |
cat ${self}/parts/pkgs/default.nix |
awk '/= docs/{print $1}' |
sed -E "s/(.*)/- [\1](https:\/\/github.com\/isabelroses\/dotfiles\/blob\/main\/docs)/g" >> $out
'';
Expand Down
2 changes: 1 addition & 1 deletion parts/pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
...
}: {
packages = let
docs = pkgs.callPackage ../../docs {inherit self;};
docs = pkgs.callPackage (self + /docs) {inherit self;};
in {
docs-md = docs.md;
docs-html = docs.html;
Expand Down

0 comments on commit 27e7553

Please sign in to comment.