initial xbuild

This commit is contained in:
Rongsong Shen 2025-05-26 06:58:49 +00:00
parent 44eb1c3ffb
commit 26661fe1a6
4 changed files with 38 additions and 226 deletions

View file

@ -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 {};
}