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:
parent
a00e28d85a
commit
78845777ad
1 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
let sources = import ../../../nix/sources.nix;
|
let sources = import ../nix/sources.nix;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
containers.pluto = {
|
containers.pluto = {
|
||||||
|
@ -14,8 +14,8 @@ in
|
||||||
config = {pkgs, config, ...}: {
|
config = {pkgs, config, ...}: {
|
||||||
systemd.services.pluto =
|
systemd.services.pluto =
|
||||||
let
|
let
|
||||||
julia = (import ../../../pkgs/pluto)
|
julia = (import ../pkgs/pluto)
|
||||||
{pkgs = import sources.nixpkgs-unstable {};};
|
{pkgs = import sources.nixpkgs {};};
|
||||||
pluto = pkgs.stdenv.mkDerivation {
|
pluto = pkgs.stdenv.mkDerivation {
|
||||||
name = "pluto-standalone";
|
name = "pluto-standalone";
|
||||||
buildPhase = "mkdir $out";
|
buildPhase = "mkdir $out";
|
||||||
|
@ -23,7 +23,7 @@ in
|
||||||
cp *.toml $out
|
cp *.toml $out
|
||||||
cp *.jl $out
|
cp *.jl $out
|
||||||
'';
|
'';
|
||||||
src = ../../../pkgs/pluto;
|
src = ../pkgs/pluto;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -48,6 +48,7 @@ in
|
||||||
users.users.pluto = {
|
users.users.pluto = {
|
||||||
group = "pluto";
|
group = "pluto";
|
||||||
home = "/notebooks";
|
home = "/notebooks";
|
||||||
|
isSystemUser = true;
|
||||||
};
|
};
|
||||||
users.groups.pluto = {};
|
users.groups.pluto = {};
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
|
|
Loading…
Reference in a new issue