From f178b14e1a53c8253cb9b23ae118ccc7eea4cedf Mon Sep 17 00:00:00 2001 From: derped Date: Mon, 25 Nov 2024 11:00:49 +0100 Subject: [PATCH] nix: add package default drv and format --- default.nix | 6 +++++- flake.nix | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/default.nix b/default.nix index 4d115c3..4ac9c15 100644 --- a/default.nix +++ b/default.nix @@ -1,4 +1,8 @@ -{ buildPythonApplication, zlib, lib }: +{ + buildPythonApplication, + zlib, + lib, +}: with lib; diff --git a/flake.nix b/flake.nix index d36e695..705c2c5 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,10 @@ { # https://github.com/NixOS/rfcs/pull/166 formatter = pkgs.nixfmt-rfc-style; - packages.fck = pkgs.python311Packages.callPackage ./default.nix { }; + packages = rec { + fck = pkgs.python311Packages.callPackage ./default.nix { }; + default = fck; + }; } ); }