This commit is contained in:
GHOSCHT 2024-05-14 19:26:15 +02:00
parent b4401dacda
commit 39d7179b1d
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
2 changed files with 31 additions and 8 deletions

View file

@ -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"
}
}

View file

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