Refactor packages

This commit is contained in:
Andrew Kvalheim 2022-06-09 15:10:21 -07:00
parent 1733c39222
commit 72a863e664
2 changed files with 6 additions and 3 deletions

View file

@ -2,9 +2,7 @@
let
# Packages
attachments = (pkgs.yarn2nix-moretea.mkYarnWorkspace {
src = /home/ak/akorg/project/current/andrew.kvalhe.im/andrew.kvalhe.im;
}).attachments;
attachments = pkgs.callPackage ../../packages/attachments.nix { };
decompiler-mc = pkgs.callPackage ../../packages/decompiler-mc.nix { };
josm = pkgs.josm.override {
# Workaround for https://github.com/Gubaer/josm-scripting-plugin/issues/95

5
packages/attachments.nix Normal file
View file

@ -0,0 +1,5 @@
{ yarn2nix-moretea }:
(yarn2nix-moretea.mkYarnWorkspace {
src = /home/ak/akorg/project/current/andrew.kvalhe.im/andrew.kvalhe.im;
}).attachments