Remove src input to try and avoid getting told off about relative paths
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/release Pipeline was successful Details

This commit is contained in:
Olivier 'reivilibre' 2022-05-30 22:46:54 +01:00
parent 1cd0b9887a
commit 4216243dcf
2 changed files with 2 additions and 17 deletions

View File

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

View File

@ -4,11 +4,9 @@
inputs = { inputs = {
utils.url = "github:numtide/flake-utils"; utils.url = "github:numtide/flake-utils";
naersk.url = "github:nix-community/naersk"; 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 utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages."${system}"; pkgs = nixpkgs.legacyPackages."${system}";
naersk-lib = naersk.lib."${system}"; naersk-lib = naersk.lib."${system}";
@ -16,7 +14,7 @@
# `nix build` # `nix build`
packages.yama = naersk-lib.buildPackage { packages.yama = naersk-lib.buildPackage {
pname = "yama"; pname = "yama";
root = src; root = ./.;
buildInputs = with pkgs; [ buildInputs = with pkgs; [
openssl openssl