refine
This commit is contained in:
parent
adf4888d4a
commit
26ab45b57b
3 changed files with 9 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{pkgs,mypkgs,...}:
|
{pkgs,...}:
|
||||||
with pkgs;
|
with pkgs;
|
||||||
{
|
{
|
||||||
xbuild = callPackage ./pkgs/x/xbuild/package.nix {};
|
xbuild = callPackage ./pkgs/x/xbuild/package.nix {};
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,9 @@
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||||
mypkgs.url = "github:shen390s/my-nix-channel?ref=master";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, mypkgs}:
|
outputs = { self, nixpkgs}:
|
||||||
let
|
let
|
||||||
supportedSystems = [ "x86_64-linux" ];
|
supportedSystems = [ "x86_64-linux" ];
|
||||||
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
||||||
|
|
@ -15,7 +14,7 @@
|
||||||
packages = forAllSystems (system: let
|
packages = forAllSystems (system: let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in
|
in
|
||||||
import ./default.nix { inherit pkgs; inherit mypkgs;});
|
import ./default.nix { inherit pkgs; });
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
pkgs,
|
pkgs,
|
||||||
mypkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
@ -31,6 +30,10 @@ let
|
||||||
aclocal && automake --add-missing && autoconf
|
aclocal && automake --add-missing && autoconf
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
capnpc = pkgs.callPackage ../../pkgs/c/capnpc/package.nix {};
|
||||||
|
cedro = pkgs.callPackage ../../pkgs/c/cedro/package.nix {};
|
||||||
|
|
||||||
wrapped_xbuild = stdenv.mkDerivation {
|
wrapped_xbuild = stdenv.mkDerivation {
|
||||||
name = "xbuild-wrapper";
|
name = "xbuild-wrapper";
|
||||||
|
|
||||||
|
|
@ -61,7 +64,8 @@ let
|
||||||
pkgs.elogind
|
pkgs.elogind
|
||||||
pkgs.sqlite
|
pkgs.sqlite
|
||||||
pkgs.python3
|
pkgs.python3
|
||||||
mypkgs.capnpc
|
capnpc
|
||||||
|
cedro
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue