nixos-option: fix self inclusive src

This commit is contained in:
Felix Buehler 2024-04-28 23:28:46 +02:00
parent d40ab11e88
commit 7a2b306001

View File

@ -10,7 +10,10 @@
stdenv.mkDerivation {
name = "nixos-option";
src = ./.;
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.fileFilter (file: file.name != "default.nix") ./.;
};
postInstall = ''
installManPage ${./nixos-option.8}
'';