continued moduleification

This commit is contained in:
Viv Lim 2022-10-04 00:17:24 -07:00
parent beebdb55fe
commit b1d0cef3c9
2 changed files with 1 additions and 3 deletions

View File

@ -20,7 +20,7 @@
let
# overlay containing a package built from this repo's Cargo.toml
mypkgoverlay = final: prev: {
"${cargoToml.package.name}" = final.callPackage ./server/. { inherit naersk; };
"${cargoToml.package.name}" = final.callPackage ./server { inherit naersk; };
};
overlays = [ (import rust-overlay) mypkgoverlay ];
pkgs = import nixpkgs {

View File

@ -56,8 +56,6 @@ naersk.lib."${targetPlatform.system}".buildPackage rec {
postInstall = ''
mkdir -p "$out/var/lib/bespoke/templates"
ls .
pwd
cp ./templates/* "$out/var/lib/bespoke/templates"
'';
}