initial xbuild
This commit is contained in:
parent
44eb1c3ffb
commit
26661fe1a6
4 changed files with 38 additions and 226 deletions
21
default.nix
21
default.nix
|
|
@ -1,15 +1,8 @@
|
|||
# default.nix
|
||||
let
|
||||
sources = imports ./nix/sources.nix;
|
||||
|
||||
hello = pkgs.writeShellScriptBin "hello" ''
|
||||
echo "Hello from the Nix channel overlay!"
|
||||
'';
|
||||
|
||||
pkgs = import sources.nixpkgs {
|
||||
overlays = [
|
||||
(self: super: {
|
||||
inherit hello;
|
||||
})
|
||||
];
|
||||
};
|
||||
in pkgs
|
||||
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/archive/master.tar.gz";
|
||||
pkgs = import nixpkgs { config = {}; overlays = []; };
|
||||
in
|
||||
{
|
||||
xbuild = pkgs.callPackage ./pkgs/x/xbuild.nix {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue