You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
435 B
Nix
19 lines
435 B
Nix
9 years ago
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
let
|
||
|
inherit (lib) mkIf mkMerge mkThenElse;
|
||
|
cfg = config.r6d.config-generator;
|
||
|
computers = config.r6d.computers;
|
||
|
profiles = config.r6d.profiles;
|
||
|
in
|
||
|
|
||
|
mkIf cfg.developpement-rust {
|
||
|
|
||
|
# Paquets
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
# Rust
|
||
|
cargo # récupération des dépendances + compilation projet rust
|
||
|
rustc # pour les appels depuis les scripts
|
||
|
];
|
||
|
}
|