Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

AleXoundOS AleXoundOS

🎯
Focusing
Block or report user

Report or block AleXoundOS

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@AleXoundOS
AleXoundOS / find-fixed-outputs.nix
Created Aug 10, 2019 — forked from LnL7/find-fixed-outputs.nix
Find fixed output derivations
View find-fixed-outputs.nix
# This expression returns a list of all fixed output derivations used by ‘expr’.
# eg.
# $ nix-instantiate find-fixed-outputs.nix --eval --strict --json --arg expr '(import <nixpkgs> {}).hello'
with import <nixpkgs> { };
with lib;
{ expr }:
let
@AleXoundOS
AleXoundOS / shell.nix
Last active Apr 6, 2019
nix shell configuration for building stack project with zlib dependency using binary GHC distribution
View shell.nix
with (import <nixpkgs> {});
let
buildInputs = [haskell.compiler.ghc822Binary pkgconfig zlib];
in stdenv.mkDerivation {
name = "myUsbZlibEnv";
inherit buildInputs;
# For unknown reason libz.so cannot be found for linking without this
You can’t perform that action at this time.