From c580b57a74e636ad8b896e3d1dfa2b5eade2d192 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Thu, 11 Feb 2021 13:45:11 +0100 Subject: Revert "modules/user/sternenseemann/sway: fix startup by enabling opengl" This reverts commit 5bd756eaf27882820cb59e0ecf9c305f08b3b3e3. Committed more than I meant to. --- pkgs/profpatsch/nman/default.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'pkgs/profpatsch/nman/default.nix') diff --git a/pkgs/profpatsch/nman/default.nix b/pkgs/profpatsch/nman/default.nix index bb4b4544..96699833 100644 --- a/pkgs/profpatsch/nman/default.nix +++ b/pkgs/profpatsch/nman/default.nix @@ -1,3 +1,14 @@ -{ writeRustSimpleBin }: +{ lib, runCommand, go }: + +runCommand "nman" { + meta = with lib; { + description = "Invoke manpage in temporary nix-shell"; + license = licenses.gpl3; + }; +} '' + mkdir cache + env GOCACHE="$PWD/cache" \ + ${lib.getBin go}/bin/go build -o nman ${./nman.go} + install -D nman $out/bin/nman +'' -writeRustSimpleBin "nman" {} ./nman.rs -- cgit 1.4.1