mirror of https://git.jolheiser.com/nixfig.git
chore: remove nix files from library
Signed-off-by: jolheiser <git@jolheiser.com>main
parent
e902c130a5
commit
ace51e4132
27
flake.lock
27
flake.lock
|
@ -1,27 +0,0 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1713805509,
|
||||
"narHash": "sha256-YgSEan4CcrjivCNO5ZNzhg7/8ViLkZ4CB/GrGBVSudo=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "1e1dc66fe68972a76679644a5577828b6a7e8be4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
34
flake.nix
34
flake.nix
|
@ -1,34 +0,0 @@
|
|||
{
|
||||
description = "nixfig, nix configuration";
|
||||
|
||||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
}: let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
nixgen = pkgs.buildGoModule {
|
||||
pname = "nixgen";
|
||||
version = self.rev or "dev";
|
||||
src = ./.;
|
||||
vendorHash = pkgs.lib.fileContents ./go.mod.sri;
|
||||
doCheck = false;
|
||||
meta = with pkgs.lib; {
|
||||
description = "nixfig, nix configuration";
|
||||
homepage = "https:/git.jolheiser.com/nixfig";
|
||||
maintainers = with maintainers; [jolheiser];
|
||||
mainProgram = "nixgen";
|
||||
};
|
||||
};
|
||||
in {
|
||||
packages.${system}.default = nixgen;
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
go
|
||||
gopls
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
sha256-zCqjwA9uFvE9qg0WHAGZxWIHxBLpPbaSg7Nn+YE6pHc=
|
Loading…
Reference in New Issue