Compare commits

..

2 commits

Author SHA1 Message Date
Skyler Grey ef3ef45d46 Update flake.nix
All checks were successful
buildbot/nix-build .#checks.x86_64-linux.lix-docs Build done.
buildbot/nix-build .#checks.x86_64-linux.aux-wiki Build done.
buildbot/nix-build .#checks.x86_64-linux.manual-assets Build done.
buildbot/nix-build .#checks.x86_64-linux.nixpkgs-lib-docs Build done.
buildbot/nix-eval Build done.
2024-07-27 10:36:39 +00:00
Skyler Grey f10c4a4afa Update packages/aux-wiki/default.nix
Some checks failed
buildbot/nix-eval Build done.
2024-07-27 01:57:43 +00:00
3 changed files with 9 additions and 13 deletions

1
.envrc
View file

@ -2,4 +2,3 @@ if ! has nix_direnv_version || ! nix_direnv_version 3.0.5; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-RuwIS+QKFj/T9M2TFXScjBsLR6V3A17YVoEW/Q6AZ1w=" source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-RuwIS+QKFj/T9M2TFXScjBsLR6V3A17YVoEW/Q6AZ1w="
fi fi
use flake use flake
# a comment in an unrelated file...

View file

@ -23,9 +23,11 @@
}; };
outputs-builder = channels: { outputs-builder = channels: {
checks."//tmp/this-is-path-traversal" = inputs.self.packages.${channels.nixpkgs.system}.aux-wiki; checks = inputs.nixpkgs.lib.filterAttrs (name: _:
checks."/aux-wiki/path-traversal-2" = inputs.self.packages.${channels.nixpkgs.system}.aux-wiki; name != "md-manual"
checks."aux-wiki/all-good" = inputs.self.packages.${channels.nixpkgs.system}.aux-wiki; && name != "nixos-options"
&& name != "nixpkgs-manual"
) inputs.self.packages.${channels.nixpkgs.system};
}; };
}; };
} }

View file

@ -1,5 +1,5 @@
{ stdenvNoCC, inputs }: stdenvNoCC.mkDerivation { stdenvNoCC, inputs }:
{ stdenvNoCC.mkDerivation {
pname = "aux-wiki"; pname = "aux-wiki";
version = "unstable"; version = "unstable";
@ -13,14 +13,9 @@
cp -r contributing $out/contributing cp -r contributing $out/contributing
cp -r docs $out/docs cp -r docs $out/docs
# foo, bar, baz, qux, quxx # A cache busting comment
''; '';
fixupPhase = '' fixupPhase = ''
pushd $out pushd $out
mv home.md index.md mv home.md index.md