dotfiles/nixos/home-manager/packages/enter-env/default.nix

9 lines
342 B
Nix
Raw Normal View History

2021-01-18 08:58:49 +01:00
{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, ... }:
2020-12-29 17:35:11 +01:00
let
writeShellScriptBin = nixpkgs.writeShellScriptBin;
2021-01-18 08:58:49 +01:00
prusa-slicer = nixpkgs-unstable.callPackage ./prusa-slicer.nix {};
2020-12-29 17:35:11 +01:00
in
writeShellScriptBin "enter-env" ''
2021-01-18 08:58:49 +01:00
NIX_SHELL_PRESERVE_PROMPT=1 nix-shell -p ${nixpkgs.openscad} ${nixpkgs.cura} ${prusa-slicer} ${nixpkgs.inkscape}
2020-12-29 17:35:11 +01:00
''