docs: add some notes on overrides; fix defaults

This commit is contained in:
Paul Makles
2025-02-10 17:21:23 +00:00
parent 439bacf067
commit e957af4ca3
4 changed files with 41 additions and 21 deletions

View File

@@ -1,26 +1,10 @@
let
# Pinned nixpkgs, deterministic. Last updated: 28-07-2024.
pkgs = import (fetchTarball("https://github.com/NixOS/nixpkgs/archive/9b34ca580417e1ebc56c4df57d8b387dad686665.tar.gz")) {};
# Rolling updates, not deterministic.
# pkgs = import (fetchTarball("channel:nixpkgs-unstable")) {};
in pkgs.mkShell {
name = "revoltEnv";
# LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
# pkgs.gcc-unwrapped
# pkgs.zlib
# pkgs.glib
# pkgs.libGL
# ];
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell rec {
buildInputs = [
# Tools
pkgs.git
# Database
# pkgs.mongodb
# Cargo
pkgs.cargo
pkgs.cargo-nextest