From 23efabe6c601504409df835824ff800b48955863 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 4 Jul 2021 03:18:00 -0600 Subject: [PATCH] [NixOS] Add quill --- nixos/configuration.nix | 2 ++ nixos/overlays.nix | 15 +++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index de627a38..536bddc8 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -309,7 +309,9 @@ in librsvg transmission-gtk + # Internet computer ic-keysmith + quill ]; # XXX: Plasma seems to set this diff --git a/nixos/overlays.nix b/nixos/overlays.nix index d905076f..ba8fbd44 100644 --- a/nixos/overlays.nix +++ b/nixos/overlays.nix @@ -29,4 +29,19 @@ in runVend = true; }; + + quill = self.stdenv.mkDerivation (rec { + name = "quill"; + version = "0.2.0"; + phases = [ "installPhase" ]; + installPhase = '' + mkdir -p $out/bin + cp $src $out/bin/quill + chmod a+x $out/bin/quill + ''; + src = self.fetchurl { + url = "https://github.com/dfinity/quill/releases/download/v${version}/quill-linux-x86_64"; + sha256 = "1msgj7y8b0bh0sq14msa5jqwfn9yzwiin5l276qz0h0wjqmnndbs"; + }; + }); }