diff options
author | makefu <github@syntax-fehler.de> | 2017-08-16 12:03:32 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-08-16 12:03:32 +0200 |
commit | bacdb91d8d5a856d735ff8c52ecb0010511027b7 (patch) | |
tree | 8d1a34871102c685fdf0338a767aedd359397fb2 /makefu/5pkgs/broken/arduino-chroot/fhsUser.nix | |
parent | 60be2e12f968ba0097289f0a2ce47d870e9e4c2d (diff) |
ma 5pkgs: cleanup
Diffstat (limited to 'makefu/5pkgs/broken/arduino-chroot/fhsUser.nix')
-rw-r--r-- | makefu/5pkgs/broken/arduino-chroot/fhsUser.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/makefu/5pkgs/broken/arduino-chroot/fhsUser.nix b/makefu/5pkgs/broken/arduino-chroot/fhsUser.nix new file mode 100644 index 000000000..a699bbfb8 --- /dev/null +++ b/makefu/5pkgs/broken/arduino-chroot/fhsUser.nix @@ -0,0 +1,25 @@ +{ lib, pkgs, ... }: let + +env_nix = pkgs.writeText "env.nix" '' + { pkgs ? import <nixpkgs> {} }: + + (pkgs.buildFHSUserEnv { + name = "simple-x11-env"; + targetPkgs = pkgs: with pkgs; [ + coreutils + gcc + arduino + ]; + multiPkgs = pkgs: with pkgs; [ + zlib + curl + ]; + runScript = "arduino"; + }).env +''; + + +in pkgs.writeDashBin "games-user-env" '' + nix-shell ${env_nix} +'' + |