mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-14 11:45:06 +01:00
jj
This commit is contained in:
parent
274ca062bf
commit
ae6b7cc81b
3 changed files with 19 additions and 3 deletions
|
|
@ -1,5 +1,21 @@
|
|||
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;
|
||||
x = import ./x { inherit pkgs; };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
customPkgs = import ../custom-pkgs pkgs;
|
||||
crates = import ../custom-pkgs/crates pkgs;
|
||||
in
|
||||
with pkgs; [
|
||||
|
|
@ -9,6 +10,7 @@ with pkgs; [
|
|||
cargo-expand
|
||||
cargo-mommy
|
||||
cargo-nextest
|
||||
customPkgs.jujutsu
|
||||
dig
|
||||
fzf
|
||||
gcc
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
# This is your home-manager configuration file
|
||||
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
|
||||
|
||||
{ inputs
|
||||
, lib
|
||||
, config
|
||||
{ lib
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue