Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixos-homepage
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 190f0a468c62
Choose a base ref
...
head repository: NixOS/nixos-homepage
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 129dc78d6851
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 6, 2020

  1. set root explicitly, fixes #354

    garbas committed Apr 6, 2020
    Copy the full SHA
    129dc78 View commit details
Showing with 2 additions and 1 deletion.
  1. +2 −1 Makefile
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
NIXOS_SERIES = 19.09
ROOT = "/"

rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))

@@ -83,7 +84,7 @@ favicon.ico: favicon.png
%.html: %.tt layout.tt common.tt nix-release.tt nixos-release.tt donation.tt
tpage \
--pre_chomp --post_chomp \
--define root=`echo $@ | sed -e 's|[^/]||g' -e 's|/|../|g'` \
--define root=$(ROOT) \
--define fileName=$< \
--define nixosAmis=$(NIXOS_AMIS) \
--define nixosAzureBlobs=$(NIXOS_AZURE_BLOBS) \