1
0
Fork 0
mirror of https://github.com/malob/prefmanager.git synced 2024-12-14 11:57:49 +00:00

Update nixpkgs

This commit is contained in:
Malo Bourgon 2021-07-13 08:55:20 -07:00
parent bda3ea9b19
commit 9bcd652f4f
3 changed files with 12 additions and 34 deletions

View file

@ -2,11 +2,11 @@
"nodes": {
"devshell": {
"locked": {
"lastModified": 1616093728,
"narHash": "sha256-5A3CABXiKPIzU4uETKStQvBtAoZNL1H1B/LAOk4FguU=",
"lastModified": 1625086391,
"narHash": "sha256-IpNPv1v8s4L3CoxhwcgZIitGpcrnNgnj09X7TA0QV3k=",
"owner": "numtide",
"repo": "devshell",
"rev": "3663a7dffb94b412cee4cc0c9644fe5f95911101",
"rev": "4b5ac7cf7d9a1cc60b965bb51b59922f2210cbc7",
"type": "github"
},
"original": {
@ -33,11 +33,11 @@
},
"flake-utils": {
"locked": {
"lastModified": 1614513358,
"narHash": "sha256-LakhOx3S1dRjnh0b5Dg3mbZyH0ToC9I8Y2wKSkBaTzU=",
"lastModified": 1623875721,
"narHash": "sha256-A8BU7bjS5GirpAUv4QA+QnJ4CceLHkcXdRp4xITDB0s=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "5466c5bbece17adaab2d82fae80b46e807611bf3",
"rev": "f7e004a55b120c02ecb6219596820fcd32ca8772",
"type": "github"
},
"original": {
@ -48,15 +48,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1616542367,
"narHash": "sha256-ZAcaaNOzsUZs57B+bYFmrPiOgeyfRSPc+2oWqohNQgU=",
"lastModified": 1626087906,
"narHash": "sha256-n6jPX5j5yEsM5GGnMOmD2syZnoYfVONW/LztPsKu5Uc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "73bb976ba5c474c70f0c73e2f3a26f973bf11a9a",
"rev": "eaff114326e814083bcb208caa97eab1fbedd79b",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -2,7 +2,7 @@
description = "Tool for working with macOS defaults.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
devshell.url = "github:numtide/devshell/";
flake-compat = { url = "github:edolstra/flake-compat"; flake = false; };
flake-utils.url = "github:numtide/flake-utils";
@ -15,7 +15,7 @@
compiler = pkgs.haskell.packages.ghc8104;
hlib = pkgs.haskell.lib;
plist = hlib.markUnbroken (hlib.overrideSrc compiler.plist { src = plist-source; });
prefmanager = compiler.callPackage ./prefmanager.nix { inherit plist; };
prefmanager = compiler.callCabal2nix "prefmanager" ./. { inherit plist; };
mkShell = devshell.legacyPackages.${system}.mkShell;
in rec {
# Built by `nix build .`

View file

@ -1,23 +0,0 @@
{ mkDerivation, ansi-terminal, async, base-noprelude, containers
, hpack, hxt, lib, optparse-applicative, patience, plist
, prettyprinter, prettyprinter-ansi-terminal, relude, text
, typed-process
}:
mkDerivation {
pname = "prefmanager";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
ansi-terminal async base-noprelude containers hxt patience plist
prettyprinter prettyprinter-ansi-terminal relude text typed-process
];
libraryToolDepends = [ hpack ];
executableHaskellDepends = [ base-noprelude optparse-applicative ];
testHaskellDepends = [ base-noprelude ];
prePatch = "hpack";
homepage = "https://github.com/malob/prefmanager#readme";
description = "A CLI utility for managing macOS preferences";
license = lib.licenses.bsd3;
}