add mypkgs
parent
23bf093137
commit
b441ee75c9
|
@ -1,8 +1,12 @@
|
||||||
# This module aims to be merge (not inject/override) with top-level pkgs to provide
|
# This module aims to be merge (not inject/override) with top-level pkgs to provide
|
||||||
# personalized/custom packages
|
# personalized/custom packages
|
||||||
{ pkgs, lib, ... }@pkgs_input: {
|
{ pkgs
|
||||||
|
, lib
|
||||||
|
, naersk # rust packages
|
||||||
|
, ...
|
||||||
|
}@pkgs_input: {
|
||||||
# dot-hwtr = import "./dot-hwtr" pkgs_input;
|
# dot-hwtr = import "./dot-hwtr" pkgs_input;
|
||||||
cargo-bacon = pkgs.rustPlatform.buildRustPackage rec {
|
cargo-bacon = pkgs.rustPlatform.buildRustPackage rec {
|
||||||
pname = "bacon";
|
pname = "bacon";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
rust-overlay.url = "github:oxalica/rust-overlay";
|
||||||
|
naersk.url = "gihub:nix-community/naersk";
|
||||||
|
};
|
||||||
|
outputs = { nixpkgs, rust-overlay, naersk }:
|
||||||
|
let
|
||||||
|
pkgs = import nixpkgs { overlays = [ rust-overlay.overlays.default ]; };
|
||||||
|
lib = pkgs.lib;
|
||||||
|
in
|
||||||
|
(import ./default.nix { inherit pkgs lib naersk; });
|
||||||
|
}
|
Loading…
Reference in New Issue