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

View File

@ -28,9 +28,11 @@
in
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;
devShell =
hp.shellFor {
packages = h: [h.reddit-pub];
@ -51,6 +53,8 @@
sqlite-interactive
hp.graphmod
hp.dhall-nixpkgs
];
};
}