minor cleanup

This commit is contained in:
Greg Burd 2023-09-13 15:19:18 -04:00
parent 2621170d1b
commit edc1474077
No known key found for this signature in database
GPG key ID: 1FC1E7793410DE46
3 changed files with 6 additions and 8 deletions

6
TODO
View file

@ -3,14 +3,12 @@
* Docker container on DockerHub, GitHub Container Repository (ghcr.io)
* containers could have multiple tags as in `latest` and `1.0.0`
* build windows MSYS2
* formatting
* lint
* security audits
* Gitpod
* recorded ascii demo
* README.md
* build and other badges
-----
nix flake show
nix flake check
nix shell github:gburd/hello -c hello
nix flake show --json | jq '.packages."x86_64-linux"|keys[]'| xargs -I {} nix build .#{}

View file

@ -40,9 +40,9 @@
hello = with final; stdenv.mkDerivation rec {
pname = "hello";
inherit version;
src = ./.;
src = self;
nativeBuildInputs = [ autoreconfHook ];
};
};
})
];
};
@ -53,7 +53,7 @@
packages.container = pkgs.callPackage ./container.nix { package = packages.default; };
apps.hello = flake-utils.lib.mkApp { drv = packages.default; };
defaultApp = apps.hello;
apps.${system}.default = apps.hello;
devShells.default = import ./shell.nix { inherit pkgs; };
}

View file

@ -1,5 +1,5 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
# nativeBuildInputs is usually what you want -- tools you need to run
#nativeBuildInputs = with pkgs.buildPackages; [ ];
nativeBuildInputs = with pkgs.buildPackages; [ ripgrep ];
}