continued moduleification
This commit is contained in:
parent
beebdb55fe
commit
b1d0cef3c9
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue