From 78845777ad1463e7f493ade680877d5b6959419f Mon Sep 17 00:00:00 2001 From: stuebinm Date: Thu, 26 Aug 2021 22:11:54 +0200 Subject: [PATCH] =?UTF-8?q?julia=5F15:=20nixpkgs=20unstable=20=E2=86=92=20?= =?UTF-8?q?21.05?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apparently the working julia version was moved into a stable channel since I last looked at this, and the version in unstable is broken again. Fun! Anyways, it builds again now (as part of parsons's config) --- services/pluto.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/services/pluto.nix b/services/pluto.nix index 338a147..ed535ee 100644 --- a/services/pluto.nix +++ b/services/pluto.nix @@ -1,6 +1,6 @@ { config, lib, pkgs, ... }: -let sources = import ../../../nix/sources.nix; +let sources = import ../nix/sources.nix; in { containers.pluto = { @@ -14,8 +14,8 @@ in config = {pkgs, config, ...}: { systemd.services.pluto = let - julia = (import ../../../pkgs/pluto) - {pkgs = import sources.nixpkgs-unstable {};}; + julia = (import ../pkgs/pluto) + {pkgs = import sources.nixpkgs {};}; pluto = pkgs.stdenv.mkDerivation { name = "pluto-standalone"; buildPhase = "mkdir $out"; @@ -23,7 +23,7 @@ in cp *.toml $out cp *.jl $out ''; - src = ../../../pkgs/pluto; + src = ../pkgs/pluto; }; in { enable = true; @@ -48,6 +48,7 @@ in users.users.pluto = { group = "pluto"; home = "/notebooks"; + isSystemUser = true; }; users.groups.pluto = {}; systemd.tmpfiles.rules = [