mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-02-22 12:55:21 +08:00
temp
This commit is contained in:
parent
2b224e8e0e
commit
50210f3f88
3 changed files with 3 additions and 8 deletions
|
|
@ -8,12 +8,13 @@
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
customGhc = pkgs.haskellPackages.ghcWithPackages (p: with p; [ p.extra ]);
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
devShells = rec {
|
devShells = rec {
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
buildInputs = [ customGhc ];
|
shellHook = ''
|
||||||
|
export FOO="bar"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
import Data.List.Extra
|
|
||||||
|
|
||||||
main :: IO ()
|
|
||||||
main = do
|
|
||||||
print $ lower "ABCDE"
|
|
||||||
print $ upper "XYZ"
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue