From 28194780aa62b8f02432eb29d857adbd26d88569 Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 24 Aug 2020 10:10:34 +0530 Subject: add readme --- nix/nixpkgs.nix | 10 ---------- readme.md | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 readme.md diff --git a/nix/nixpkgs.nix b/nix/nixpkgs.nix index b5675fb..017dc11 100644 --- a/nix/nixpkgs.nix +++ b/nix/nixpkgs.nix @@ -1,13 +1,8 @@ let - # Manage this with https://github.com/nmattia/niv - # or define { nixpkgs = ...; nixpkgs-mozilla = ...; } - # yourself. sources = import ./sources.nix; rustChannelsOverlay = import "${sources.nixpkgs-mozilla}/rust-overlay.nix"; - # Useful if you also want to provide that in a nix-shell since some rust tools depend - # on that. rustChannelsSrcOverlay = import "${sources.nixpkgs-mozilla}/rust-src-overlay.nix"; in import sources.nixpkgs { @@ -15,11 +10,6 @@ in import sources.nixpkgs { rustChannelsOverlay rustChannelsSrcOverlay (self: super: { - # Replace "latest.rustChannels.stable" with the version of the rust tools that - # you would like. Look at the documentation of nixpkgs-mozilla for examples. - # - # NOTE: "rust" instead of "rustc" is not a typo: It will include more than needed - # but also the much needed "rust-std". rustc = super.latest.rustChannels.stable.rust; inherit (super.latest.rustChannels.stable) cargo rust rust-fmt rust-std clippy; }) diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..da6c0e2 --- /dev/null +++ b/readme.md @@ -0,0 +1,10 @@ +### hedge + +> minimal url shortner + +### build + +``` +$ crate2nix generate +$ nix-build +``` -- cgit v1.2.3