2022-12-25 10:54:10 +00:00
|
|
|
# Ideally, this should contain the barebone necessary for building/interacting
|
|
|
|
# with tech used in this project
|
2022-12-25 23:15:15 +00:00
|
|
|
#
|
2022-12-25 10:54:10 +00:00
|
|
|
# Should also incorporate shortcuts like scripts/{hm-switch,conf-sysnix}.sh in here instead
|
2022-12-25 23:15:15 +00:00
|
|
|
#
|
2022-12-25 10:54:10 +00:00
|
|
|
# It should not contain PDE
|
2023-01-13 06:42:21 +00:00
|
|
|
{ pkgs ? import <nixpkgs> { }
|
|
|
|
, lib
|
|
|
|
, ...
|
|
|
|
}: pkgs.mkShell {
|
2022-12-25 10:54:10 +00:00
|
|
|
# mkShell doesn't care about the differences across nativeBuildInputs,
|
|
|
|
# buildInputs, or packages
|
|
|
|
buildInputs = [
|
|
|
|
# shell scripts
|
2023-01-13 06:42:21 +00:00
|
|
|
(lib.shellAsDrv { script = ''echo "hello world"''; pname = "hello"; })
|
2023-01-12 01:55:28 +00:00
|
|
|
# TODO: decompose hm-switch.sh with a base version (where HOME_MANAGER_BIN is injected)
|
|
|
|
# (lib.shellAsDrv {script = builtins.readFile ./scripts/hm-switch.sh; pname = "hm-switch";})
|
2023-01-12 17:41:58 +00:00
|
|
|
pkgs.rust4cargo
|
2023-02-14 08:34:17 +00:00
|
|
|
pkgs.sops
|
2022-12-25 10:54:10 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# env vars
|
2023-01-13 06:42:21 +00:00
|
|
|
lol = "hello world";
|
2022-12-25 10:54:10 +00:00
|
|
|
}
|
|
|
|
|