add mypkgs
This commit is contained in:
parent
23bf093137
commit
b441ee75c9
@ -1,8 +1,12 @@
|
||||
# This module aims to be merge (not inject/override) with top-level pkgs to provide
|
||||
# personalized/custom packages
|
||||
{ pkgs, lib, ... }@pkgs_input: {
|
||||
{ pkgs
|
||||
, lib
|
||||
, naersk # rust packages
|
||||
, ...
|
||||
}@pkgs_input: {
|
||||
# dot-hwtr = import "./dot-hwtr" pkgs_input;
|
||||
cargo-bacon = pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = "bacon";
|
||||
pname = "bacon";
|
||||
};
|
||||
}
|
||||
|
||||
13
nix-conf/pkgs/flake.nix
Normal file
13
nix-conf/pkgs/flake.nix
Normal file
@ -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
Block a user