31 lines
546 B
Nix
31 lines
546 B
Nix
|
|
{ pkgs ? import <nixos-unstable> {} } :
|
||
|
|
{
|
||
|
|
|
||
|
|
#pkgs = import (builtins.fetchGit {
|
||
|
|
# name = "nixos-25.05";
|
||
|
|
# url = "https://github.com/nixos/nixpkgs";
|
||
|
|
# rev = "11cb3517b3af6af300dd6c055aeda73c9bf52c48";
|
||
|
|
#}) {};
|
||
|
|
|
||
|
|
foo = pkgs.mkShell {
|
||
|
|
# nativeBuildInputs is usually what you want -- tools you need to run
|
||
|
|
nativeBuildInputs = with pkgs.buildPackages; [
|
||
|
|
|
||
|
|
authbind
|
||
|
|
process-compose
|
||
|
|
docker-compose
|
||
|
|
|
||
|
|
];
|
||
|
|
|
||
|
|
shellHooks = ''
|
||
|
|
export NIX_SHELL_VPS=1
|
||
|
|
|
||
|
|
echo "available commands:"
|
||
|
|
|
||
|
|
'';
|
||
|
|
};
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|