Correctly package templates
This commit is contained in:
parent
6a34258a30
commit
6277631144
2 changed files with 9 additions and 1 deletions
|
|
@ -29,7 +29,14 @@
|
|||
RUST_DOC_PATH = "${rust}/share/doc/rust/html/std/index.html";
|
||||
};
|
||||
|
||||
packages.default = naersk'.buildPackage ./.;
|
||||
packages.default = naersk'.buildPackage {
|
||||
src = ./.;
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share
|
||||
cp -r templates $out/share
|
||||
'';
|
||||
};
|
||||
})
|
||||
// {nixosModules.stalwart-accounts = import ./nixos self;};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue