Rename shared to shared-assets
This commit is contained in:
parent
2094b1ba2e
commit
68869f59e7
1 changed files with 6 additions and 6 deletions
12
flake.nix
12
flake.nix
|
@ -10,8 +10,8 @@
|
|||
inherit (nixpkgs.lib) makeOverridable;
|
||||
inherit (pkgs.stdenvNoCC) mkDerivation;
|
||||
|
||||
shared = mkDerivation {
|
||||
name = "talks-shared";
|
||||
shared-assets = mkDerivation {
|
||||
name = "talks-shared-assets";
|
||||
src = ./src;
|
||||
|
||||
installPhase = ''
|
||||
|
@ -31,7 +31,7 @@
|
|||
mkTalk = makeOverridable (
|
||||
{ name, src }:
|
||||
mkDerivation {
|
||||
inherit name shared src;
|
||||
inherit name shared-assets src;
|
||||
|
||||
buildInputs = commonBuildInputs;
|
||||
|
||||
|
@ -48,9 +48,9 @@
|
|||
--break-level 1 \
|
||||
--extension-module preprocess \
|
||||
--fit-background-mode scale \
|
||||
--font-path "${toString shared}/fonts" \
|
||||
--font-path "${toString shared-assets}/fonts" \
|
||||
--output slides.pdf \
|
||||
--stylesheets bw,"${toString shared}/styles/opdavies-light"
|
||||
--stylesheets bw,"${toString shared-assets}/styles/opdavies-light"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
@ -104,7 +104,7 @@
|
|||
};
|
||||
|
||||
packages.${system} = {
|
||||
inherit shared;
|
||||
inherit shared-assets;
|
||||
} // talks;
|
||||
|
||||
formatter.${system} = pkgs.nixfmt-rfc-style;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue