From 73a283a545d61754a0fe821287541c2cd412bc0e Mon Sep 17 00:00:00 2001 From: xecarlox94 Date: Sat, 31 May 2025 00:07:50 +0100 Subject: [PATCH] another attempt to test bootstrapping --- nix/templates/haskell/flake.nix | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/nix/templates/haskell/flake.nix b/nix/templates/haskell/flake.nix index ff48206..4e62eb6 100644 --- a/nix/templates/haskell/flake.nix +++ b/nix/templates/haskell/flake.nix @@ -3,18 +3,11 @@ inputs = { - nixpkgs = { - url = "github:NixOS/nixpkgs/nixos-unstable"; - }; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - flake-utils = { - url = "github:numtide/flake-utils"; - }; - - p2prc-flake = { - url = "github:xecarlox94/p2p-rendering-computation?ref=nix"; - }; + flake-util.url = "github:numtide/flake-utils"; + p2prc-flake.url = "github:xecarlox94/p2p-rendering-computation?ref=nix"; }; outputs = { nixpkgs, p2prc-flake, flake-utils, ... }: @@ -30,9 +23,7 @@ in { - packages = { - default = pkgs.haskellPackages.callPackage ./cabal.nix { }; - }; + packages.default = pkgs.haskellPackages.callPackage ./cabal.nix { }; devShells.default = pkgs.haskellPackages.shellFor { @@ -54,5 +45,4 @@ }; } )); - }