Package dhall

This commit is contained in:
Mats Rauhala 2022-02-10 18:07:49 +02:00
parent 44d1541503
commit 1ccf953c57
3 changed files with 23 additions and 10 deletions

9
dhall.nix Normal file
View File

@ -0,0 +1,9 @@
{ buildDhallDirectoryPackage }:
buildDhallDirectoryPackage {
name = "";
src = ./dhall;
file = "package.dhall";
source = false;
document = false;
dependencies = [];
}

View File

@ -5,11 +5,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1636606878, "lastModified": 1637250802,
"narHash": "sha256-rLxYl7iYP9vQhSvVlV2uRCdgrqKDz/vN1Z8ZmA8itkM=", "narHash": "sha256-/crlHEVB148PGQLZCsHOR9L5qgvCAfRSocIoKgmMAhA=",
"owner": "jkachmar", "owner": "jkachmar",
"repo": "easy-hls-nix", "repo": "easy-hls-nix",
"rev": "edd5710946d46ea40810ef9a708b084d7e05a118", "rev": "7c123399ef8a67dc0e505d9cf7f2c7f64f1cd847",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -20,11 +20,11 @@
}, },
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1637014545, "lastModified": 1644229661,
"narHash": "sha256-26IZAc5yzlD9FlDT54io1oqG/bBoyka+FJk5guaX4x4=", "narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "bba5dcc8e0b20ab664967ad83d24d64cb64ec4f4", "rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -50,11 +50,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1637238590, "lastModified": 1644453163,
"narHash": "sha256-zGI/dR9WZvfZE0Eyk7zC4Y8ukxC/oSbfApqIvSCtB+o=", "narHash": "sha256-VPlXtIsShceYHUspnJSvuvucrX1OWVFmrqiofn69yCM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "57407fed58509a8d731d525f39842ea5ab696237", "rev": "7e003d7fb9eff8ecb84405360c75c716cdd1f79f",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -28,9 +28,11 @@
in in
rec { rec {
packages = { inherit (hp) reddit-pub; }; packages.reddit-pub = pkgs.haskell.lib.justStaticExecutables hp.reddit-pub;
packages.reddit-pub-dhall = pkgs.dhallPackages.callPackage ./dhall.nix {};
defaultPackage = packages.reddit-pub; defaultPackage = packages.reddit-pub;
devShell = devShell =
hp.shellFor { hp.shellFor {
packages = h: [h.reddit-pub]; packages = h: [h.reddit-pub];
@ -51,6 +53,8 @@
sqlite-interactive sqlite-interactive
hp.graphmod hp.graphmod
hp.dhall-nixpkgs
]; ];
}; };
} }