Merge pull request #68 from ysndr/master

Improve nix flake
This commit is contained in:
PaddiM8 2021-09-24 15:42:15 +02:00 committed by GitHub
commit 0ba0031586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@
kalker = final.rustPlatform.buildRustPackage {
pname = "kalker";
version = "unstable";
description = "A CLI calculator";
src = self;
@ -54,5 +55,10 @@
});
defaultApp = forAllSystems (system: self.apps.${system}.kalker);
devShell = forAllSystems (system:
nixpkgs.legacyPackages.${system}.mkShell {
inputsFrom = builtins.attrValues (packages);
});
};
}