From b7debcd5d946bae1ad05b2d080c1699799ca6005 Mon Sep 17 00:00:00 2001 From: Owen Lynch Date: Mon, 8 Jan 2024 17:59:49 -0800 Subject: [PATCH] added option for graphical --- fhs.nix | 1 + module.nix | 6 ++++++ result | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/fhs.nix b/fhs.nix index 26bbfbc..fe2ba48 100644 --- a/fhs.nix +++ b/fhs.nix @@ -84,6 +84,7 @@ let pdf2svg qt4 systemd + glfw3 xorg.libICE xorg.libSM xorg.libX11 diff --git a/module.nix b/module.nix index 0683f08..dacd962 100644 --- a/module.nix +++ b/module.nix @@ -29,6 +29,11 @@ in type = types.bool; default = false; }; + + enableGraphical = mkOption { + type = types.bool; + default = false; + }; }; config = { home.packages = builtins.concatMap @@ -36,6 +41,7 @@ in let scientific-fhs = pkgs.callPackage ./fhs.nix { enableNVIDIA = cfg.enableNVIDIA; + enableGraphical = cfg.enableGraphical; juliaVersion = version-spec.version; }; fhsCommand = commandName: commandScript: diff --git a/result b/result index 2236a5b..21e27e9 120000 --- a/result +++ b/result @@ -1 +1 @@ -/nix/store/q4xycm9aq2g0yi5zvvjs5fdfzraqc3x9-julia \ No newline at end of file +/nix/store/w21qkcn47ylgxl8ffcjn5gknj2yqxfa9-scientific-fhs \ No newline at end of file