initial commit

This commit is contained in:
Amy de Buitléir 2023-06-11 20:42:36 +01:00
parent 3f33f10061
commit 78fd4cc737
7 changed files with 76 additions and 0 deletions

View file

@ -0,0 +1,7 @@
with (import <nixpkgs> {});
mkShell {
buildInputs = [
hello
cowsay
];
}

View file

@ -0,0 +1,10 @@
with (import <nixpkgs> {});
let
hello = import (builtins.fetchGit {
url = "https://codeberg.org/mhwombat/hello-nix";
rev = "aa2c87f8b89578b069b09fdb2be30a0c9d8a77d8";
});
in
mkShell {
buildInputs = [ hello ];
}

View file

@ -0,0 +1,11 @@
with (import <nixpkgs> {});
let
hello = (builtins.getFlake git+https://codeberg.org/mhwombat/hello-flake).packages.${builtins.currentSystem}.default;
# For older flakes, you might need an expression like this...
# hello = (builtins.getFlake git+https://codeberg.org/mhwombat/hello-flake).defaultPackage.${builtins.currentSystem};
in
mkShell {
buildInputs = [
hello
];
}

View file

@ -0,0 +1,9 @@
with (import <nixpkgs> {});
let
hello = (builtins.getFlake git+https://codeberg.org/mhwombat/hello-flake?ref=main&rev=3aa43dbe7be878dde7b2bdcbe992fe1705da3150).packages.${builtins.currentSystem}.default;
in
mkShell {
buildInputs = [
hello
];
}

View file

@ -0,0 +1,14 @@
with (import <nixpkgs> {});
let
pandoc-linear-table = haskellPackages.callCabal2nix "pandoc-linear-table" /home/amy/github/pandoc-linear-table {};
pandoc-logic-proof = haskellPackages.callCabal2nix "pandoc-logic-proof" /home/amy/github/pandoc-logic-proof {};
pandoc-columns = haskellPackages.callCabal2nix "pandoc-columns" /home/amy/github/pandoc-columns {};
in
mkShell {
buildInputs = [
pandoc
pandoc-linear-table
pandoc-logic-proof
pandoc-columns
];
}

View file

@ -0,0 +1,19 @@
with (import <nixpkgs> {});
let
pandoc-linear-table = haskellPackages.callCabal2nix "pandoc-linear-table" /home/amy/github/pandoc-linear-table {};
pandoc-logic-proof = haskellPackages.callCabal2nix "pandoc-logic-proof" /home/amy/github/pandoc-logic-proof {};
pandoc-columns = haskellPackages.callCabal2nix "pandoc-columns" /home/amy/github/pandoc-columns {};
pandoc-maths-web = haskellPackages.callCabal2nix "pandoc-maths-web" /home/amy/github/pandoc-maths-web
{
inherit pandoc-linear-table pandoc-logic-proof pandoc-columns;
};
in
mkShell {
buildInputs = [
pandoc
pandoc-linear-table
pandoc-logic-proof
pandoc-columns
pandoc-maths-web
];
}

View file

@ -0,0 +1,6 @@
with (import <nixpkgs> {});
mkShell {
shellHook = ''
export FOO="bar"
'';
}