mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 12:06:13 +01:00
8 lines
232 B
Nix
8 lines
232 B
Nix
{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom }:
|
|
let
|
|
writeShellScriptBin = nixpkgs.writeShellScriptBin;
|
|
in
|
|
writeShellScriptBin "enter-env" ''
|
|
NIX_SHELL_PRESERVE_PROMPT=1 nix-shell -p ${nixpkgs.openscad} ${nixpkgs.cura}
|
|
''
|