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, ... }:
|
||||
|
||||
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 = [
|
||||
|
|
Loading…
Reference in a new issue