Simplify Flake (remove 'src' input that causes problem on 'old' Nixes)
ci/woodpecker/push/manual Pipeline is pending Details
ci/woodpecker/push/check Pipeline was successful Details
ci/woodpecker/push/release Pipeline was successful Details

This commit is contained in:
Olivier 'reivilibre' 2022-06-04 22:30:34 +01:00
parent 8e3a44ee5e
commit e2b4b3127d
2 changed files with 2 additions and 17 deletions

View File

@ -50,22 +50,9 @@
"inputs": {
"naersk": "naersk",
"nixpkgs": "nixpkgs_2",
"src": "src",
"utils": "utils"
}
},
"src": {
"flake": false,
"locked": {
"narHash": "sha256-1/06n6MpN2m2LMteAwFqZ2qWADpGSo7MFQplLFEJRSc=",
"path": "..",
"type": "path"
},
"original": {
"path": "..",
"type": "path"
}
},
"utils": {
"locked": {
"lastModified": 1648297722,

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.quickpeep = naersk-lib.buildPackage {
pname = "quickpeep";
root = src;
root = ./.;
buildInputs = with pkgs; [
openssl
pkgconfig