Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Add drv-parts #188

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
140 changes: 114 additions & 26 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
dream2nix.inputs.pre-commit-hooks.follows = "pre-commit-hooks-nix";
dream2nix.inputs.nixpkgs.follows = "nixpkgs";
dream2nix.url = "github:nix-community/dream2nix";
drv-parts.url = "github:roberth/drv-parts/docs";
emanote.url = "github:srid/emanote";
emanote.inputs.nixpkgs.follows = "nixpkgs";
haskell-flake.url = "github:srid/haskell-flake";
Expand Down Expand Up @@ -72,6 +73,15 @@
'';
};

drv-parts = {
title = "drv-parts";
baseUrl = "https://github.com/roberth/drv-parts/blob/docs";
attributePath = [ "flakeModule" ];
intro = ''
A new way to define packages. Experimental.
'';
};

emanote = {
baseUrl = "https://github.com/srid/emanote/blob/master";
intro = ''
Expand Down
4 changes: 3 additions & 1 deletion render/render-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,9 @@ in
inherit (config) sourceName baseUrl sourcePath;
inherit coreOptDecls;
};
warningsAreErrors = true; # not sure if feasible long term
# FIXME: restore:
# warningsAreErrors = true; # not sure if feasible long term
warningsAreErrors = false;
markdownByDefault = true;
};
rendered = pkgs.runCommand "option-doc-${config.sourceName}"
Expand Down
1 change: 1 addition & 0 deletions site/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- [`easyOverlay`](./options/flake-parts-easyOverlay.md)
- [`devshell`](./options/devshell.md)
- [`dream2nix beta`](./options/dream2nix.md)
- [`drv-parts`](./options/drv-parts.md)
- [`emanote`](./options/emanote.md)
- [`haskell-flake`](./options/haskell-flake.md)
- [`hercules-ci-effects`](./options/hercules-ci-effects.md)
Expand Down