From 673973c8d2d965bb9c029e7ef7309b3c961f655f Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Tue, 3 Aug 2021 08:30:20 +1000 Subject: add missing w3m dependency --- README.md | 4 ++-- default.nix | 4 ++-- flake.lock | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 4 deletions(-) create mode 100644 flake.lock diff --git a/README.md b/README.md index 5beb087..badcad9 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ A command line interface to clinvar. # Install -It's just a script, there are dependencies on libxml2 and FZF. If you have -Nix with flakes enabled you can run it without "installing" by +It's just a script, there are dependencies on libxml2, w3m, and FZF. If +you have Nix with flakes enabled you can run it without "installing" by ``` nix run git://vk3.wtf/clinvar.git search-terms ... ``` diff --git a/default.nix b/default.nix index a468bbe..20a1cc4 100644 --- a/default.nix +++ b/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenvNoCC, fzf, libxml2, makeWrapper }: +{ lib, stdenvNoCC, fzf, libxml2, w3m, makeWrapper }: stdenvNoCC.mkDerivation { pname = "clinvar"; @@ -18,7 +18,7 @@ stdenvNoCC.mkDerivation { fixupPhase = '' runHook preFixup wrapProgram $out/bin/clinvar \ - --prefix PATH : "${lib.makeBinPath [ fzf libxml2 ]}" + --prefix PATH : "${lib.makeBinPath [ fzf libxml2 w3m ]}" runHook postFixup ''; diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..d102e2d --- /dev/null +++ b/flake.lock @@ -0,0 +1,40 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1623875721, + "narHash": "sha256-A8BU7bjS5GirpAUv4QA+QnJ4CceLHkcXdRp4xITDB0s=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "f7e004a55b120c02ecb6219596820fcd32ca8772", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1626852498, + "narHash": "sha256-lOXUJvi0FJUXHTVSiC5qsMRtEUgqM4mGZpMESLuGhmo=", + "path": "/nix/store/g2g13rv513i8z8rav2imcfk49fm8bac1-source", + "rev": "16105403bdd843540cbef9c63fc0f16c1c6eaa70", + "type": "path" + }, + "original": { + "id": "nixpkgs", + "type": "indirect" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} -- cgit v1.2.3