From 4216243dcfd50737ea6edef0ca7ba70c33bd72c1 Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Mon, 30 May 2022 22:46:54 +0100 Subject: [PATCH] Remove src input to try and avoid getting told off about relative paths --- flake.lock | 13 ------------- flake.nix | 6 ++---- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/flake.lock b/flake.lock index 6aa2cdc..a8128ec 100644 --- a/flake.lock +++ b/flake.lock @@ -50,22 +50,9 @@ "inputs": { "naersk": "naersk", "nixpkgs": "nixpkgs_2", - "src": "src", "utils": "utils" } }, - "src": { - "flake": false, - "locked": { - "narHash": "sha256-MGP5pSluHmnG0XKKLGrXPWv1bYx55iw6t6TNnr9xrs0=", - "path": "./.", - "type": "path" - }, - "original": { - "path": "./.", - "type": "path" - } - }, "utils": { "locked": { "lastModified": 1652776076, diff --git a/flake.nix b/flake.nix index bc6f90d..67ee3e1 100644 --- a/flake.nix +++ b/flake.nix @@ -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.yama = naersk-lib.buildPackage { pname = "yama"; - root = src; + root = ./.; buildInputs = with pkgs; [ openssl