yoepie
This commit is contained in:
parent
a01e9c9c19
commit
d0144b72db
3
cleanup.sh
Normal file
3
cleanup.sh
Normal file
@ -0,0 +1,3 @@
|
||||
nix-env --delete-generations old
|
||||
nix-store --gc
|
||||
# nix-collect-garbage -d
|
@ -102,4 +102,5 @@ cd ${BASE}
|
||||
|
||||
nuscript_get
|
||||
|
||||
nu --config nuscripts/config/config.nu --env-config nuscripts/config/env.nu -e 'source nuscripts/load.nu; $env.PATH = (paths_nix)'
|
||||
nu --config nuscripts/config/config.nu --env-config nuscripts/config/env.nu \
|
||||
-e 'source nuscripts/load.nu; $env.PATH = (paths_nix); herotools install_crystal; herotools install_hero'
|
67
shell.nix
67
shell.nix
@ -1,32 +1,35 @@
|
||||
let
|
||||
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11";
|
||||
pkgs = import nixpkgs { config = {}; overlays = []; };
|
||||
in
|
||||
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
git
|
||||
nushellFull
|
||||
mc
|
||||
jq
|
||||
# libtorrent-rasterbar
|
||||
# python311Packages.libtorrent-rasterbar
|
||||
python311Full
|
||||
python311Packages.ipython
|
||||
python311Packages.ipdb
|
||||
python311Packages.rq
|
||||
rsync
|
||||
rustc
|
||||
go
|
||||
duf
|
||||
gdu
|
||||
vscode-with-extensions
|
||||
vscode-extensions.thenuprojectcontributors.vscode-nushell-lang
|
||||
|
||||
];
|
||||
# shellHook = ''
|
||||
# echo "Nix shell environment is ready."
|
||||
# hero_shell.sh
|
||||
# '';
|
||||
}
|
||||
|
||||
let
|
||||
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11";
|
||||
pkgs = import nixpkgs { config = {}; overlays = []; };
|
||||
in
|
||||
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
git
|
||||
nushellFull
|
||||
mc
|
||||
jq
|
||||
# libtorrent-rasterbar
|
||||
# python311Packages.libtorrent-rasterbar
|
||||
python311Full
|
||||
python311Packages.ipython
|
||||
python311Packages.ipdb
|
||||
python311Packages.rq
|
||||
rsync
|
||||
rustc
|
||||
go
|
||||
duf
|
||||
gdu
|
||||
|
||||
];
|
||||
|
||||
# BIN_MC = "${pkgs.mc}/bin";
|
||||
|
||||
shellHook = ''
|
||||
cd $BASE
|
||||
git status
|
||||
echo $BASE
|
||||
$BASE/hero_shell.sh
|
||||
'';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user