mirror of
https://git.madhouse-project.org/actions/nix.git
synced 2025-05-12 06:49:54 +02:00
Add a nix/develop action
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
parent
680f954a87
commit
3935dfdac3
5 changed files with 106 additions and 0 deletions
14
develop/test/flake.nix
Normal file
14
develop/test/flake.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
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;
|
||||
devShells.x86_64-linux.hello = pkgs.mkShell {
|
||||
buildInputs = [ self.packages.x86_64-linux.hello ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue