Closed roberth closed 1 year ago
You could do something like this to avoid copying the lock:
flake = { templates.default.path = (inputs.nixpkgs.lib.cleanSourceWith { src = ./.; filter = path: type: baseNameOf path == "flake.nix"; }).outPath; };
Well, not src = ./., but the example
src = ./.
You could do something like this to avoid copying the lock: