From 5bd756eaf27882820cb59e0ecf9c305f08b3b3e3 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Thu, 11 Feb 2021 13:27:18 +0100 Subject: modules/user/sternenseemann/sway: fix startup by enabling opengl sway needs opengl driver's to be enabled and loadable in order to start. I previously didn't notice this oversight as I still had them loaded and did not reboot after the rebuild. --- pkgs/profpatsch/nman/default.nix | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'pkgs/profpatsch/nman/default.nix') diff --git a/pkgs/profpatsch/nman/default.nix b/pkgs/profpatsch/nman/default.nix index 96699833..bb4b4544 100644 --- a/pkgs/profpatsch/nman/default.nix +++ b/pkgs/profpatsch/nman/default.nix @@ -1,14 +1,3 @@ -{ 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 }: +writeRustSimpleBin "nman" {} ./nman.rs -- cgit 1.4.1