about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@roblox.com>2024-04-16 09:24:12 -0700
committerFranck Cuny <fcuny@roblox.com>2024-04-16 09:24:12 -0700
commitefeef95bbdf2e79e8ba48198cb8ff0534afce324 (patch)
tree2a0b0ae890c437330865311d1ac294fb987c7fbd /nix
parentinstall nomad pack (diff)
downloadworld-efeef95bbdf2e79e8ba48198cb8ff0534afce324.tar.gz
move the `slocalc` to a python script
Diffstat (limited to 'nix')
-rw-r--r--nix/flake/packages.nix4
-rw-r--r--nix/profiles/home-manager/shell.nix1
2 files changed, 4 insertions, 1 deletions
diff --git a/nix/flake/packages.nix b/nix/flake/packages.nix
index 1d310d3..71b9dc5 100644
--- a/nix/flake/packages.nix
+++ b/nix/flake/packages.nix
@@ -6,7 +6,8 @@
   perSystem = { config, pkgs, ... }: {
     overlayAttrs = {
       inherit (config.packages)
-        seqstat;
+        seqstat
+        slocalc;
     };
 
     packages = {
@@ -14,6 +15,7 @@
       git-blame-stats = pkgs.callPackage "${self}/packages/git-blame-stats" { };
       git-broom = pkgs.callPackage "${self}/packages/git-broom" { };
       ipconverter = pkgs.callPackage "${self}/packages/ipconverter" { };
+      slocalc = pkgs.callPackage "${self}/packages/slocalc" { };
     };
   };
 }
diff --git a/nix/profiles/home-manager/shell.nix b/nix/profiles/home-manager/shell.nix
index 3869d9b..046cb5e 100644
--- a/nix/profiles/home-manager/shell.nix
+++ b/nix/profiles/home-manager/shell.nix
@@ -25,6 +25,7 @@
     self.packages.${pkgs.system}.git-broom
     self.packages.${pkgs.system}.ipconverter
     self.packages.${pkgs.system}.seqstat
+    self.packages.${pkgs.system}.slocalc
   ];
 
   home.sessionVariables = {