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: 1d3a7797e319
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: 8e22b4b1b4d6
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jul 24, 2020

  1. Revert "added install and clean targets update flake.nix"

    This reverts commit 5791fa7.
    garbas committed Jul 24, 2020

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    8e22b4b View commit details
Showing with 0 additions and 13 deletions.
  1. +0 −8 Makefile
  2. +0 −5 flake.nix
8 changes: 0 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -62,14 +62,6 @@ $(NIXPKGS_MANUAL_OUT): $(NIXPKGS_MANUAL_IN) bootstrapify-docbook.sh bootstrapify

all: $(HTML) favicon.png favicon.ico robots.txt $(subst .png,-small.png,$(filter-out %-small.png,$(wildcard images/screenshots/*)))

install:
fd -I -t d -x mkdir -p build/{}
fd -I -t f -t l '(.*?)\.(gpg|svg|xml|ico|css|jpg|gif|doc|pdf|html|png|js|cast|ico|robots.txt)$$' -x cp -a {} build/{}

clean:
rm -rf build



robots.txt: $(HTML)
echo "Users-agent: *" >> $@
5 changes: 0 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -87,11 +87,6 @@

doCheck = true;

installPhase = ''
mkdir $out
cp -prd . $out/
'';

shellHook = ''
export NIX_VERSION="${released-pkgs.lib.getVersion nix.name}"
export NIXOS_SERIES="${released-pkgs.lib.trivial.release}"