julia_15: nixpkgs unstable → 21.05

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)
This commit is contained in:
stuebinm 2021-08-26 22:11:54 +02:00
parent a00e28d85a
commit 78845777ad
No known key found for this signature in database
GPG key ID: 8FBE8AAD32FA12B7

View file

@ -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 = [