Compare commits

..

2 commits

Author SHA1 Message Date
Skyler Grey 529157b0d2 Update flake.nix
Some checks failed
buildbot/nix-eval Build done.
2024-07-27 17:56:21 +00:00
Skyler Grey 986f473cdd Update flake.nix
All checks were successful
buildbot/nix-build .#checks.x86_64-linux.aux-wiki Build done.
buildbot/nix-eval Build done.
2024-07-27 16:33:39 +00:00
3 changed files with 6 additions and 14 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,9 @@
}; };
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 == "aux-wiki"
checks."aux-wiki/all-good" = inputs.self.packages.${channels.nixpkgs.system}.aux-wiki; ) 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";
@ -12,15 +12,8 @@
cp -r community $out/community cp -r community $out/community
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
''; '';
fixupPhase = '' fixupPhase = ''
pushd $out pushd $out
mv home.md index.md mv home.md index.md