https://github.com/rupurt/cbl-gdb-nix
Nix flake for COBOLworx cbl-gdb debugging extensions to GnuCOBOL
https://github.com/rupurt/cbl-gdb-nix
Last synced: over 1 year ago
JSON representation
Nix flake for COBOLworx cbl-gdb debugging extensions to GnuCOBOL
- Host: GitHub
- URL: https://github.com/rupurt/cbl-gdb-nix
- Owner: rupurt
- License: mit
- Created: 2024-11-20T19:14:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-21T06:02:24.000Z (over 1 year ago)
- Last Synced: 2025-01-24T06:47:58.643Z (over 1 year ago)
- Language: Nix
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cbl-gdb-nix
Nix flake to build COBOLworx [cbl-gdb](https://gitlab.cobolworx.com/COBOLworx/cbl-gdb)
debugging extensions to GnuCOBOL on Linux & MacOS.
## Usage
```nix
{
description = "Your nix flake with cbl-gdb. Hack the planet!";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
cbl-gdb {
url = "github:rupurt/cbl-gdb-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
flake-utils,
cbl-gdb,
nixpkgs,
...
}: let
systems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
outputs = flake-utils.lib.eachSystem systems (system: let
pkgs = import nixpkgs {
overlays = [
cbl-gdb.overlay
];
};
in {
# nix fmt
formatter = pkgs.alejandra;
# nix develop -c $SHELL
devShells.default = pkgs.mkShell {
name = "default dev shell";
packages = with pkgs; [
cbl-gdb-pkgs.cbl-gdb
];
};
});
in
outputs;
}
```