This commit is contained in:
nora 2024-02-23 21:53:46 +01:00
parent 274ca062bf
commit ae6b7cc81b
3 changed files with 19 additions and 3 deletions

View file

@ -1,5 +1,21 @@
pkgs: { pkgs: {
cargo-bisect-rustc = import ./cargo-bisect-rustc/default.nix pkgs; cargo-bisect-rustc = import ./cargo-bisect-rustc/default.nix pkgs;
jujutsu = pkgs.stdenv.mkDerivation {
name = "jujutsu";
src = pkgs.fetchurl {
url = "https://github.com/martinvonz/jj/releases/download/v0.14.0/jj-v0.14.0-x86_64-unknown-linux-musl.tar.gz";
hash = "sha256-/4HbDUk9g1tqYv0Y0n/tHLP80CKqlaLKXDWxUI6aRYc=";
};
# the unpacker is too stupid to accept archives that don't have subdiretories
sourceRoot = ".";
installPhase = ''
mkdir -p $out/bin
cp jj $out/bin/jj
'';
meta = {
mainProgram = "jj";
};
};
monaspace = import ./monaspace.nix pkgs; monaspace = import ./monaspace.nix pkgs;
x = import ./x { inherit pkgs; }; x = import ./x { inherit pkgs; };
} }

View file

@ -1,5 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
let let
customPkgs = import ../custom-pkgs pkgs;
crates = import ../custom-pkgs/crates pkgs; crates = import ../custom-pkgs/crates pkgs;
in in
with pkgs; [ with pkgs; [
@ -9,6 +10,7 @@ with pkgs; [
cargo-expand cargo-expand
cargo-mommy cargo-mommy
cargo-nextest cargo-nextest
customPkgs.jujutsu
dig dig
fzf fzf
gcc gcc

View file

@ -1,9 +1,7 @@
# This is your home-manager configuration file # This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix) # Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{ inputs { lib
, lib
, config
, pkgs , pkgs
, ... , ...
}: }: