nix: init default builder directory

wip/yesman
Katharina Fey 3 years ago
parent a176119835
commit 5d61126be1
Signed by: kookie
GPG Key ID: F972AEEA2887D547
  1. 1
      .envrc
  2. 19
      nix/README.md
  3. 10
      nix/default.nix
  4. 11
      nix/rust.nix

@ -0,0 +1 @@
NIX_PATH=$NIX_PATH:nom=$(pwd)/nix

@ -0,0 +1,19 @@
# nix builders
The kookienomicon is a collection of projects, each with their own
dependencies, and build setups. Nix and Lorri are used extentsively
to facilitate switching between build tools and dependency scopes.
The root of the repository adds a new key to the `NIX_PATH`
environment variable, which can then be used to look-up development
builders.
## How to use
There are default builders for common programming language setups
(such as Rust).
```nix
```

@ -0,0 +1,10 @@
/**
* Kookienomicon overlay definition
*
*
*
*/
self: super: {
}

@ -0,0 +1,11 @@
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "rust-devel";
buildInputs = with pkgs; [
rust-analyzer rustc
cargo-watch
clangStdenv
hello
];
}
Loading…
Cancel
Save