Remove `src` input indirection that invalidates flake for no good reason
This commit is contained in:
parent
f902f2a45a
commit
f7f363aa9e
14
flake.lock
14
flake.lock
|
@ -48,23 +48,9 @@
|
|||
"inputs": {
|
||||
"naersk": "naersk",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"src": "src",
|
||||
"utils": "utils"
|
||||
}
|
||||
},
|
||||
"src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 0,
|
||||
"narHash": "sha256-BzAD04MXi8kqeGvPrcgQtxYxkLrPuVqMUvoukS6FCng=",
|
||||
"path": "./.",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "./.",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
|
|
|
@ -4,11 +4,9 @@
|
|||
inputs = {
|
||||
utils.url = "github:numtide/flake-utils";
|
||||
naersk.url = "github:nix-community/naersk";
|
||||
src.url = "path:./.";
|
||||
src.flake = false;
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, utils, naersk, src }:
|
||||
outputs = { self, nixpkgs, utils, naersk }:
|
||||
utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = nixpkgs.legacyPackages."${system}";
|
||||
naersk-lib = naersk.lib."${system}";
|
||||
|
@ -16,7 +14,7 @@
|
|||
# `nix build`
|
||||
packages.mxmonzo = naersk-lib.buildPackage {
|
||||
pname = "mxmonzo";
|
||||
root = src;
|
||||
root = ./.;
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
openssl
|
||||
|
|
Loading…
Reference in New Issue