-
-
Save Twey/87f06305be605e36acb60078192dcbc3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> { }; | |
let | |
file = runCommand "file" {} ''echo "false" > $out''; | |
func = path: type: builtins.fromJSON (builtins.readFile file); | |
in | |
stdenv.mkDerivation { | |
name = "pinning-test"; | |
src = builtins.filterSource func ./.; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment