commit c9217ffd55ee82febb2b5d537aa0e63c15a10a16 parent 871719a9a9b5fccc457f34f463a5dd6b40afc088 Author: William Casarin <jb55@jb55.com> Date: Thu, 5 Nov 2020 10:25:45 -0800 nix: make it buildable Diffstat:
M | default.nix | | | 8 | ++++++-- |
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/default.nix b/default.nix @@ -1,6 +1,10 @@ { pkgs ? import <nixpkgs> {} }: with pkgs; stdenv.mkDerivation { - name = "datefmt"; - nativeBuildInputs = [ gdb ]; + pname = "datefmt"; + version = "0.1"; + + makeFlags = "PREFIX=$(out)"; + + src = ./.; }