Skip to content

Commit

Permalink
add a nix-shell environment
Browse files Browse the repository at this point in the history
if you use nixos or nix pkgs (like I do on debian/ubuntu), then you
can just type `nix-shell --pure` and drop into a automatically installed
pure environment with just the dependencies needed for this project in
your path.
  • Loading branch information
dysinger committed May 4, 2016
1 parent 9aed347 commit 069e003
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions default.nix
@@ -0,0 +1,15 @@
with import <nixpkgs> {}; {
md380toolsEnv = stdenv.mkDerivation {
name = "md380toolsEnv";
buildInputs = [
curl
gcc-arm-embedded
gnumake
libusb1
python27
python27Packages.pyusb
unzip
];
LD_LIBRARY_PATH="${libusb1.out}/lib";
};
}

0 comments on commit 069e003

Please sign in to comment.