flake: don't make flurry a recursive package (#39)

This commit is contained in:
Noa Aarts 2024-10-23 09:17:50 +02:00 committed by GitHub
parent 8d67fdeb7e
commit 70f018e05b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 32 additions and 18 deletions

View file

@ -1,9 +1,8 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/master";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
tsunami = {
url = "github:itepastra/tsunami";
@ -35,10 +34,10 @@
rec {
default = flurry;
flurry =
(pkgs.makeRustPlatform { cargo = toolchain; rustc = toolchain; }).buildRustPackage rec {
(pkgs.makeRustPlatform { cargo = toolchain; rustc = toolchain; }).buildRustPackage {
pname = "flurry";
version = "0.1.0";
cargoLock.lockFile = "${src}/Cargo.lock";
cargoLock.lockFile = ./Cargo.lock;
src = fs.toSource {
root = ./.;
fileset = fs.unions [