Skip to content

Instantly share code, notes, and snippets.

let
pkgs = import <nixpkgs> { };
in
{
demo = pkgs.writeText "demo" ''
# And finally deny all other access to this proxy
http_access deny all
# Squid normally listens to port 3128
http_port foo
- /nix/store/53lrbm8dr79kc54widsxjbr7sghds41r-root.drv:{out}
+ /nix/store/y70nlahdg70zpihlhcnmp2kcz619ad86-root.drv:{out}
• The input derivation named `nodejs-18.15.0` differs
- /nix/store/4gqcynvdkf6r2vknhs56sdjl6fqpcrwi-nodejs-18.15.0.drv:{out}
+ /nix/store/gxr007lvkx23j75pdp94pr44ivgrwyy3-nodejs-18.15.0.drv:{out}
• The environments do not match:
+ __contentAddressed=
• The input derivation named `nodemon-2.0.22` differs
- /nix/store/lsh37cby9687r58zrzg9p6h4z5b286nn-nodemon-2.0.22.drv:{out}
+ /nix/store/vc9rsa58h6y92di65jvjxcwwwrc0wij9-nodemon-2.0.22.drv:{out}
- /nix/store/53lrbm8dr79kc54widsxjbr7sghds41r-root.drv:{out}
+ /nix/store/y70nlahdg70zpihlhcnmp2kcz619ad86-root.drv:{out}
• The input derivation named `nodejs-18.15.0` differs
- /nix/store/4gqcynvdkf6r2vknhs56sdjl6fqpcrwi-nodejs-18.15.0.drv:{out}
+ /nix/store/gxr007lvkx23j75pdp94pr44ivgrwyy3-nodejs-18.15.0.drv:{out}
• The environments do not match:
+ __contentAddressed=
• The input derivation named `nodemon-2.0.22` differs
- /nix/store/lsh37cby9687r58zrzg9p6h4z5b286nn-nodemon-2.0.22.drv:{out}
+ /nix/store/vc9rsa58h6y92di65jvjxcwwwrc0wij9-nodemon-2.0.22.drv:{out}
import Data.Coerce
newtype TestType = TestType String
main = putStrLn (coerce (TestType "Hello, World!"))
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
drw-r--r-- 0/0 0 1970-01-01 01:00 /nix/
drw-r--r-- 0/0 0 1970-01-01 01:00 /nix/store/
lrwxrwxrwx nobody/nogroup 0 1970-01-01 01:00 /nix/store/qh48dhi2rgxhrg26pssvgcxc2mvw1ddk-symlink -> /nix/store/v1v4cb7xyplfhqkk7jnfwh5y7h1r4x5r-real
dr-xr-xr-x nobody/nogroup 0 1970-01-01 01:00 /nix/store/qh48dhi2rgxhrg26pssvgcxc2mvw1ddk-symlink/dir/
-r--r--r-- nobody/nogroup 8 1970-01-01 01:00 /nix/store/qh48dhi2rgxhrg26pssvgcxc2mvw1ddk-symlink/dir/real
cabal-version: >=1.10
-- Initial package description 'aoc.cabal' generated by 'cabal init'. For
-- further documentation, see http://haskell.org/cabal/users-guide/
name: aoc
version: 0.1.0.0
-- synopsis:
-- description:
-- bug-reports:
-- license:
let
overlay = self: super: {
haskellPackages = with self.haskell.lib; super.haskellPackages.override (old: {
overrides = self.lib.composeExtensions (old.overrides or (_: _: {})) (hself: hsuper: {
advent-of-code-api = hself.callHackageDirect {
pkg = "advent-of-code-api" ;
ver = "0.2.7.1";
sha256 = "1j4swkv1b0px3mdpf1akh06pdlz3rwp9gwzmcb8zrbgw0f7zgp7f";
} {};
});
self: super: {
haskellPackages = with self.haskell.lib; super.haskellPackages.extends (hself: hsuper: {
iqubic = hself.callHackageDirect {
pkg = "iqubic" ;
ver = "0.1.0.0";
sha256 = "0000000000000000000000000000000000000000000000000000";
} {};
});
}
self: super: {
haskellPackages = with self.haskell.lib; super.haskellPackages.override (old: {
overrides = self.lib.composeExtensions (old.overrides or (_: _: {})) (hself: hsuper: {
iqubic = hself.callHackageDirect {
pkg = "iqubic" ;
ver = "0.1.0.0";
sha256 = "0000000000000000000000000000000000000000000000000000";
} {};
});
});