mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 03:04:03 -06:00
add system packages
This commit is contained in:
parent
d7d4f2e523
commit
685f11e099
1 changed files with 10 additions and 2 deletions
|
@ -1,13 +1,21 @@
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
packages = with pkgs; [ cargo rustc ];
|
packages = with pkgs; [
|
||||||
|
# Rust
|
||||||
|
cargo
|
||||||
|
rustc
|
||||||
|
|
||||||
|
# System
|
||||||
|
pkg-config
|
||||||
|
util-linux
|
||||||
|
];
|
||||||
|
|
||||||
#inputsFrom = with pkgs; [ bat ];
|
#inputsFrom = with pkgs; [ bat ];
|
||||||
|
|
||||||
RUST_BACKTRACE = 1;
|
RUST_BACKTRACE = 1;
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
echo "Ready to make some rust!"
|
echo "Ready to make some Rust!"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue