Skip to content
Open
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
17 changes: 8 additions & 9 deletions dev-shells/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,13 @@ mapAttrs (system: pkgs: {

];

shellHook =
''
export NIXOSLOGO_SRC=$(git rev-parse --show-toplevel)/package-sets/python-packages/nixoslogo
export NIXOS_ANNOTATIONS_FONT_FILE="${jura}/share/fonts/truetype/jura/Jura-Regular.ttf"
export NIXOS_COLOR_PALETTE_FILE="${nixos-branding.nixos-color-palette}/colors.toml";
export NIXOS_LOGOTYPE_FONT_FILE="${route159}/share/fonts/opentype/route159/Route159-Regular.otf"
''
+ checks.${system}.pre-commit-check.shellHook;
shellHook = ''
export NIXOSLOGO_SRC=$(git rev-parse --show-toplevel)/package-sets/python-packages/nixoslogo
export NIXOS_ANNOTATIONS_FONT_FILE="${jura}/share/fonts/truetype/jura/Jura-Regular.ttf"
export NIXOS_COLOR_PALETTE_FILE="${nixos-branding.nixos-color-palette}/colors.toml";
export NIXOS_LOGOTYPE_FONT_FILE="${route159}/share/fonts/opentype/route159/Route159-Regular.otf"
''
+ checks.${system}.pre-commit-check.shellHook;

}
) { };
Expand All @@ -67,7 +66,7 @@ mapAttrs (system: pkgs: {

shellHook = ''
cd $(git rev-parse --show-toplevel)/package-sets/top-level/nixos-branding/nixos-branding-guide
${nixos-branding-guide-editable}/bin/typst-watch
exec ${nixos-branding-guide-editable}/bin/typst-watch
'';

}
Expand Down
Loading