xrforge-v2/shell.nix

28 lines
617 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; [
];
shellHooks = ''
export NIX_SHELL_XRFORGE=1
echo "available commands:"
echo ""
echo " for recent rclone: nix-shell '<nixpkgs>' -I nixpkgs=channel:nixos-unstable -p rclone"
echo ""
'';
};
}