15 lines
269 B
Nix
15 lines
269 B
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
|