From 876a5e6b653c0c83b7eaa4fd426864c8e3102410 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Thu, 24 Oct 2019 23:48:05 +1000 Subject: [PATCH] Initial commit for Nix package development --- Deployments/nixpkgs-dev.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Deployments/nixpkgs-dev.nix diff --git a/Deployments/nixpkgs-dev.nix b/Deployments/nixpkgs-dev.nix new file mode 100644 index 0000000..c92937d --- /dev/null +++ b/Deployments/nixpkgs-dev.nix @@ -0,0 +1,14 @@ +# NixOps configuration for the hosts I'm doing nixpkgs dev work on + +{ config, pkgs, lib, ... }: + +{ + + environment = { + systemPackages = with pkgs; [ + nix-universal-prefetch # Uses nixpkgs fetchers to figure out hashes + cabal2nix # Convert Cabal files into Nix build instructions + ]; + }; + +}