mirror of
https://git.madhouse-project.org/actions/nix.git
synced 2025-05-09 21:59:53 +02:00
Add a nix/build action
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
parent
c7e4d24cd2
commit
680f954a87
5 changed files with 116 additions and 0 deletions
27
build/test/flake.lock
generated
Normal file
27
build/test/flake.lock
generated
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1685566663,
|
||||
"narHash": "sha256-btHN1czJ6rzteeCuE/PNrdssqYD2nIA4w48miQAFloM=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "4ecab3273592f27479a583fb6d975d4aba3486fe",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "23.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
11
build/test/flake.nix
Normal file
11
build/test/flake.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/23.05";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
in {
|
||||
packages.x86_64-linux.hello = pkgs.hello;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue