Build nh
This commit is contained in:
parent
b4401dacda
commit
39d7179b1d
2 changed files with 31 additions and 8 deletions
21
flake.lock
21
flake.lock
|
@ -1,5 +1,25 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nh": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714905986,
|
||||
"narHash": "sha256-Vj7iFkLrd7MDeeMVVol5uHTcaLwDq4a3vNx+6Sy1FLU=",
|
||||
"owner": "viperml",
|
||||
"repo": "nh",
|
||||
"rev": "127a23c82aa41091e97466092d2547c08c2a9a9d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "viperml",
|
||||
"repo": "nh",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1714409183,
|
||||
|
@ -15,6 +35,7 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nh": "nh",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
|
|
18
flake.nix
18
flake.nix
|
@ -1,17 +1,19 @@
|
|||
{
|
||||
description = "A very basic flake";
|
||||
|
||||
inputs = {
|
||||
nh = {
|
||||
url = "github:viperml/nh";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
}: let
|
||||
nh,
|
||||
...
|
||||
} @ inputs: let
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
in {
|
||||
packages.x86_64-linux.tree = nixpkgs.legacyPackages.x86_64-linux.tree;
|
||||
|
||||
defaultPackage.x86_64-linux = self.packages.x86_64-linux.tree;
|
||||
|
||||
hydraJobs."tester2" = self.defaultPackage;
|
||||
hydraJobs."tester" = pkgs.neo-cowsay;
|
||||
hydraJobs."tester" = nh.packages.x86_64-linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue