Remove `src` input indirection that invalidates flake for no good reason

This commit is contained in:
Olivier 'reivilibre' 2023-10-30 20:01:16 +00:00
parent f902f2a45a
commit f7f363aa9e
2 changed files with 2 additions and 18 deletions

View File

@ -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,

View File

@ -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