Browse Source

nix: init default builder directory

wip/yesman
Katharina Fey 5 months ago
parent
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

1
.envrc

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

19
nix/README.md

@ -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
```

10
nix/default.nix

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

11
nix/rust.nix

@ -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