🏡 index : ~doyle/bin.git

author Jordan Johnson-Doyle <jordan@doyle.la> 2019-02-15 21:16:08.0 +00:00:00
committer Jordan Johnson-Doyle <jordan@doyle.la> 2019-02-15 21:16:08.0 +00:00:00
commit
5574fa69cfa425a5f487f443dc9a8246e4d9d7e3 [patch]
tree
6938ec66479b7ce4a8dcfd61ab931cf85cf268a6
parent
e689ff7714607b073c78d16b4c56ac981c9cb45d
download
5574fa69cfa425a5f487f443dc9a8246e4d9d7e3.tar.gz

Add my shell.nix



Diff

 shell.nix | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..98bdf54 100644
--- /dev/null
+++ a/shell.nix
@@ -1,0 +1,19 @@
with import <nixpkgs> {};
let src = fetchFromGitHub {
      owner = "mozilla";
      repo = "nixpkgs-mozilla";
      # commited 12/2/2019
      rev = "37f7f33ae3ddd70506cd179d9718621b5686c48d";
      sha256 = "0cmvc9fnr38j3n0m4yf0k6s2x589w1rdby1qry1vh435v79gp95j";
   };
in
with import "${src.out}/rust-overlay.nix" pkgs pkgs;

stdenv.mkDerivation {
    name = "bin";
    buildInputs = [
        latest.rustChannels.nightly.cargo
        latest.rustChannels.nightly.rust
    ] ++
    pkgs.lib.optional pkgs.stdenv.isDarwin pkgs.darwin.apple_sdk.frameworks.Security;
}